package

com.pnfsoftware.jeb.util.encoding

Types to encode and decode data, including hashes/digests calculator, zip and xml implementations.

Classes

Base64 Encodes and decodes to and from Base64 notation. 
Base64.InputStream A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly. 
Base64.OutputStream A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly. 
Conversion Utility methods for safe conversions of strings or boxed representations of numbers, to numbers. 
Hash Hash calculation routines. 
HashCalculator Memory and CPU efficient way to compute message digests. 
IntegerLEB128 Read and write LEB128-encoded integers. 
IntegerLEB128.DecodedInt Decoded value along with the encoded length in bytes. 
LEB128 Decoding methods for LEB128-encoded integers from byte arrays. 
LEB128.Value Decoded value along with the encoded length in bytes. 
LongLEB128 Read and write LEB128-encoded longs. 
LongLEB128.DecodedLong Decoded value along with the encoded length in bytes. 
MimeType A collection of common MIME types as well as simple utility methods to determine MIME type from content bytes. 

Exceptions

BadEncodingException This exception may be raised when an encoding or decoding error is detected.