The process of turning data into a stream of bits. Encoding is part of the serialization process that converts data into a stream of ones and zeros.