Package net.metanotion.io.data
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 Summary
Constructors Constructor Description IdentityBytes()
-
Method Summary
-
Constructor Details
-
IdentityBytes
public IdentityBytes()
-
-
Method Details
-
getBytes
public byte[] getBytes(byte[] o)- Specified by:
getBytes
in interfaceSerializer<byte[]>
- Returns:
- byte[]
-
construct
public byte[] construct(byte[] b)- Specified by:
construct
in interfaceSerializer<byte[]>
- Returns:
- b
-