Class IdentityBytes

  • All Implemented Interfaces:
    Serializer<byte[]>

    public class IdentityBytes
    extends Object
    implements Serializer<byte[]>
    May be used to scan and repair the database nondestructively. Will never return null. Added by I2P.
    • Constructor Detail

      • IdentityBytes

        public IdentityBytes()
    • Method Detail

      • getBytes

        public byte[] getBytes​(byte[] o)
        Specified by:
        getBytes in interface Serializer<byte[]>
        Returns:
        byte[]
      • construct

        public byte[] construct​(byte[] b)
        Specified by:
        construct in interface Serializer<byte[]>
        Returns:
        b