Class ByteArray

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected byte[] contents  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ByteArray​(byte[] contents)  
      protected ByteArray​(byte[] contents, int expectedLength)  
    • Field Detail

      • contents

        protected final byte[] contents
    • Method Detail

      • getInternalContentsForJNI

        public byte[] getInternalContentsForJNI()
      • serialize

        public byte[] serialize()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object