This project has retired. For details please refer to its
Attic page .
Codec (REEF 0.14.0 API)
JavaScript is disabled on your browser.
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
Type Parameters: T
- The type of the objects (de-)serialized
All Known Implementing Classes:
GroupChangesCodec , IntegerCodec , SerializableCodec , VoidCodec
public interface Codec <T>
Interface for serialization routines that translate back and forth between
byte arrays with low latency. (Contrast to Serializer, Deserializer, which
optimize for file size and throughput.)
Method Summary
Methods
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.
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
Copyright © 2016 The Apache Software Foundation . All rights reserved.