The classification systems can be confusing. In the U.S., besides the old USPC, we now have the CPC which is based on a more international system. Somewhat analogous to imperial units vs metric. The CPc is a result of work between the EPO and the USPTO that starts with the ECLA and adds many sub-classifications to be as fine grained as the U.S. system. The only other major system for utility patents is the international IPC which originated the format used by the ECLA and CPC. It is not very fine grained.
. This is a list of the USPC major sections by number. At this level it looks like 707 Data processing: database and file management or data structures might be good. But that is a class. Under it are many many subclasses.
In the CPC system the computer technology hierarchy starts at G06F
ELECTRIC DIGITAL DATA PROCESSING One of the classes below it is G06F 16/1794
. . . .
{Details of file format conversion} another is
G06F 2205/003
.
Reformatting, i.e. changing the format of data representation
Specific to encoding I found a page at the CPC that gives an overview of where one might look for various forms or reasons for encoding. Crypto, compression, error correction, etc. under H03M.
The UPC concordance with this is class 341, not one of the 700's.