Codecs Chunks are encoded into a binary representation for storage in a store, using the chain of codecs. There are three types of codecs: Array-to-array codecs Array-to-bytes codecs Bytes-to-bytes codecs