Interface DataType.Reader<T>
- Type Parameters:
T- the type of value to read
public static interface DataType.Reader<T>
Represents a reader that can read values of a
DataType from a buffer.-
Method Summary
Modifier and TypeMethodDescription<B extends MessageBuffer,C extends MessageCodec<B>>
Tread(C codec, B buffer) Reads a value of typeDataType.Readerfrom the given buffer using the specifiedcodec.
-
Method Details
-
read
Reads a value of typeDataType.Readerfrom the given buffer using the specifiedcodec.- Parameters:
codec- the codec to use for readingbuffer- the buffer to read from- Returns:
- the read value
-