Package com.pnfsoftware.jeb.util.encoding
package com.pnfsoftware.jeb.util.encoding
Types to encode and decode data, including hashes/digests calculator, zip and xml
implementations.
-
ClassDescriptionThis exception may be raised when an encoding or decoding error is detected.Encodes and decodes to and from Base64 notation.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.ABase64.OutputStream
will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.Utility methods for safe conversions of strings or boxed representations of numbers, to numbers.Hash calculation routines.Memory and CPU efficient way to compute message digests.Read and write LEB128-encoded integers.Decoded value along with the encoded length in bytes.Decoding methods for LEB128-encoded integers from byte arrays.Decoded value along with the encoded length in bytes.Read and write LEB128-encoded longs.Decoded value along with the encoded length in bytes.A collection of common MIME types as well as simple utility methods to determine MIME type from content bytes.