Class IdentityBytes

java.lang.Object
net.metanotion.io.data.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 Details

    • IdentityBytes

      public IdentityBytes()
  • Method Details

    • 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