Class ByteWrapper

  • All Implemented Interfaces:
    java.io.Serializable

    @Deprecated
    public class ByteWrapper
    extends java.lang.Object
    implements java.io.Serializable
    Deprecated.
    NOTE DEJ20071022: deprecating this because we want to save the byte[] directly instead of inside a serialized object, which makes it hard for other apps to use the data, and causes problems if this object is ever updated A very simple class to wrap a byte array for persistence.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected byte[] bytes
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ByteWrapper()
      Deprecated.
       
        ByteWrapper​(byte[] bytes)
      Deprecated.
       
    • Field Detail

      • bytes

        protected byte[] bytes
        Deprecated.
    • Constructor Detail

      • ByteWrapper

        protected ByteWrapper()
        Deprecated.
      • ByteWrapper

        public ByteWrapper​(byte[] bytes)
        Deprecated.
    • Method Detail

      • getBytes

        public byte[] getBytes()
        Deprecated.
      • getByte

        public byte getByte​(int pos)
        Deprecated.
      • getLength

        public int getLength()
        Deprecated.