| Interface | Description |
|---|---|
| BinaryToTextEncoding |
Interface for byte-to-text-encodings
|
| BinaryToTextEncoding.Decoder |
Interface for decoding encoded strings
|
| BinaryToTextEncoding.Encoder |
Interface for encoding bytes
|
| BinaryToTextEncoding.EncoderDecoder |
Unifies both interfaces
BinaryToTextEncoding.Encoder and BinaryToTextEncoding.Decoder |
| BytesFactory |
Simple factory for creating
Bytes instances |
| BytesTransformer |
Interface for transforming
Bytes |
| BytesValidator |
Interface for validating byte arrays
|
| Class | Description |
|---|---|
| BinaryToTextEncoding.Base64Encoding |
Simple Base64 encoder
|
| BinaryToTextEncoding.BaseRadixNumber |
Simple radix encoder which internally uses
BigInteger.toString(int) |
| BinaryToTextEncoding.Hex |
Hex or Base16
|
| Bytes |
Bytes is wrapper class for an byte-array that allows a lot of convenience operations on it:
Creation from various source: arrays, primitives, parsed or random
Encoding in many formats: hex, base64, etc.
Helper functions like: indexOf, count, entropy
Transformations like: append, reverse, xor, and, resize, ...
Conversation to other types: primitives, List, object array, ByteBuffer, BigInteger, ...
Validation: built-in or provided
Making it mutable or read-only
|
| BytesTransformer.BitSwitchTransformer |
Switches bits on specific position of an array
|
| BytesTransformer.BitWiseOperatorTransformer |
Simple transformer for bitwise operations on
Bytes instances |
| BytesTransformer.ConcatTransformer |
Simple transformer for bitwise operations on
Bytes instances |
| BytesTransformer.CopyTransformer |
Creates a new instance with a copy of the internal byte array and all other attributes.
|
| BytesTransformer.MessageDigestTransformer |
Converts to hash
|
| BytesTransformer.NegateTransformer |
Simple transformer for bitwise unary negation on
Bytes instances |
| BytesTransformer.ResizeTransformer |
Copies the specified array, truncating or padding with zeros (if necessary)
so the copy has the specified length.
|
| BytesTransformer.ReverseTransformer |
Reverses the internal byte array
|
| BytesTransformer.ShiftTransformer |
Simple transformer for bit shifting
Bytes instances |
| BytesTransformers |
Collection of additional
BytesTransformer for more specific use cases |
| BytesTransformers.ChecksumTransformer |
Adds or converts to arbitrary checksum
|
| BytesTransformers.GzipCompressor |
Byte compression with gzip
|
| BytesTransformers.HmacTransformer |
HMAC transformer
|
| BytesTransformers.ShuffleTransformer |
Shuffles the internal byte array
|
| BytesTransformers.SortTransformer |
Sorts the internal byte array with given
Comparator |
| BytesValidator.IdenticalContent |
Checks if a byte array contains only the same value
|
| BytesValidator.Length |
Validates for specific array length
|
| BytesValidator.Logical |
Logical operations over multiple validators
|
| BytesValidator.PrePostFix |
Checks if arrays end or start with given array
|
| BytesValidators |
Util and easy access for
BytesValidators |
| MutableBytes |
Mutable version of
Bytes created by calling Bytes.mutable(). |
| ReadOnlyBytes |
The read-only version of
Bytes created by calling Bytes.readOnly(). |
| Enum | Description |
|---|---|
| BytesTransformer.BitWiseOperatorTransformer.Mode | |
| BytesTransformer.ResizeTransformer.Mode | |
| BytesTransformer.ShiftTransformer.Type | |
| BytesTransformers.ChecksumTransformer.Mode |
Definitions of the mode
|
Copyright © 2017–2019. All rights reserved.