T - The type of objects Serializedpublic class SerializableCodec<T extends Serializable> extends Object implements Codec<T>
| Constructor and Description |
|---|
SerializableCodec()
Default constructor for TANG use.
|
| Modifier and Type | Method and Description |
|---|---|
T |
decode(byte[] buf)
Decodes the given byte array into an object.
|
byte[] |
encode(T obj)
Encodes the given object into a Byte Array.
|
@Inject public SerializableCodec()
Copyright © 2016 The Apache Software Foundation. All rights reserved.