Package io.datarouter.bytes
package io.datarouter.bytes
-
ClassDescriptionscanner that batches byte[]s into List<byte[]>s containing as many unbroken byte[]s as possible without exceeding maxOutputBytes total bytes.Concatenated List of byte arrays with RandomAccessCodec<A,
B> A bi-directional Function where encoding then decoding should typically return the original value.Build a Codec from two Functions.Skips the inner codecs when provided values are null, directly returning null.For converting from a ByteArrayOutputStream to a ByteArrayInputStream without making a copy of the data.Gzip normally encodes and decodes in a single thread which underutilizes multi-threaded hardware.Returned while encoding with convenience methods.One or more tokens that make up a "row" of data.Some situations like S3 multipart upload require wrapping a known quantity of bytes into an InputStream.ReplacingFunction<A,B> Wrapper around a function to handle exceptional values like null.Replace nulls with nulls.Replace nulls with something provided by the SupplierRestricts the input arrays to being ordered lexicographically, enabling binary search.Terminated arrays can be embedded in a bigger array knowing that 0 is the terminal character.Concatenate multiple byte arrays into a bigger array.Encodes a positive long value to a variable number of bytes.