Interface DataType.Writer<T>
- Type Parameters:
T- the type of value to write
public static interface DataType.Writer<T>
Represents a writer that can write values of a
DataType to a buffer.-
Method Summary
Modifier and TypeMethodDescription<B extends MessageBuffer,C extends MessageCodec<B>>
voidWrites a value of typeDataType.Writerto the given buffer using the specifiedcodec.
-
Method Details
-
write
Writes a value of typeDataType.Writerto the given buffer using the specifiedcodec.- Parameters:
codec- the codec to use for writingbuffer- the buffer to write tovalue- the value to write
-