public class DeployApprovalByteSerializer extends java.lang.Object implements ByteSerializer<DeployApproval>
DeployApproval type object| Constructor and Description |
|---|
DeployApprovalByteSerializer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<DeployApproval> |
getType()
Obtains the type of the source to be serialized.
|
byte[] |
toBytes(DeployApproval source)
Converts an object to a byte array.
|
public byte[] toBytes(DeployApproval source)
ByteSerializertoBytes in interface ByteSerializer<DeployApproval>source - the source object to convert to bytespublic java.lang.Class<DeployApproval> getType()
ByteSerializergetType in interface ByteSerializer<DeployApproval>