Class BinaryType

    • Constructor Detail

      • BinaryType

        public BinaryType​(byte[] bytes)
    • Method Detail

      • getBytesDirect

        public byte[] getBytesDirect()
        Returns:
        the actual bytes - no modifications should be performed
      • getBytes

        public byte[] getBytes()
        Returns:
        a copy of the bytes
      • getByte

        public byte getByte​(int index)
        Get the byte value at a given index
        Parameters:
        index -
      • getLength

        public int getLength()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Returns the hex string representing the binary value.
        Overrides:
        toString in class Object