public class ByteBufferToBinary extends java.lang.Object implements TypeAdapter<java.nio.ByteBuffer,byte[]>
Constructor and Description |
---|
ByteBufferToBinary() |
Modifier and Type | Method and Description |
---|---|
byte[] |
algorithmToUnderlying(java.nio.ByteBuffer algorithmValue)
Convert an object from the algorithm type to the underlying type.
|
MaskingAlgorithm.MaskingType |
getAlgorithmType()
Get the algorithm type of this type adapter.
|
UnderlyingDataType |
getUnderlyingType()
Get the underlying type of this type adapter.
|
java.nio.ByteBuffer |
underlyingToAlgorithm(byte[] underValue)
Convert an object from the underlying type to the algorithm type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure, configure
public MaskingAlgorithm.MaskingType getAlgorithmType()
TypeAdapter
getAlgorithmType
in interface TypeAdapter<java.nio.ByteBuffer,byte[]>
public UnderlyingDataType getUnderlyingType()
TypeAdapter
getUnderlyingType
in interface TypeAdapter<java.nio.ByteBuffer,byte[]>
public byte[] algorithmToUnderlying(java.nio.ByteBuffer algorithmValue)
TypeAdapter
algorithmToUnderlying
in interface TypeAdapter<java.nio.ByteBuffer,byte[]>
algorithmValue
- An object of the type referenced by getAlgorithmTypepublic java.nio.ByteBuffer underlyingToAlgorithm(byte[] underValue)
TypeAdapter
underlyingToAlgorithm
in interface TypeAdapter<java.nio.ByteBuffer,byte[]>
underValue
- An object of the type referenced by getUnderlyingType