Victorian Electronic Records Strategy - Forever Digital logo
 


Search
    

4.2 Encoding of binary objects

Any binary data in a VEO is encoded using Base64. Base64 is defined in [Base64].

Base64 is the standard mechanism used for encoding binary data for inclusion within XML. It is very widely used within the Internet, particularly with email. It encodes each 3 eight-bit bytes (24 bits) into 4 six-bit bytes. Each of the resulting 64 characters is encoded into a printable ASCII character. The encoding has the advantage of being quick and easy to encode and decode. It has the disadvantage of requiring slightly greater than 33% overhead (each 3 bytes in the binary file is converted into 4 bytes, plus there is a limit to maximum line length, so there are additional line feed characters).

back to top

Victorian Government logo - Link to VicGov home Public Record Office Victoria logo - Link to PROV home