public class PublicKeyByteSerializer extends Object implements ByteSerializer<CLPublicKey>
| Constructor and Description |
|---|
PublicKeyByteSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Class<CLPublicKey> |
getType()
Obtains the type of the source to be serialized.
|
byte[] |
toBytes(CLPublicKey source)
Converts an object to a byte array.
|
public byte[] toBytes(CLPublicKey source)
ByteSerializertoBytes in interface ByteSerializer<CLPublicKey>source - the source object to convert to bytespublic Class<CLPublicKey> getType()
ByteSerializergetType in interface ByteSerializer<CLPublicKey>Copyright © 2022. All rights reserved.