Class BytesLexicoder

    • Constructor Detail

      • BytesLexicoder

        public BytesLexicoder()
    • Method Detail

      • encode

        public byte[] encode​(byte[] data)
      • decodeUnchecked

        protected byte[] decodeUnchecked​(byte[] data,
                                         int offset,
                                         int len)
        If offset == 0 and len == data.length, returns data. Otherwise, returns a new byte array with contents starting at data[offset] with length len. Decodes a byte array without checking if the offset and len exceed the bounds of the actual array.
        Specified by:
        decodeUnchecked in class AbstractEncoder<byte[]>