Interface DataType.Writer<T>

Type Parameters:
T - the type of value to write
Enclosing class:
DataType<T>

public static interface DataType.Writer<T>
Represents a writer that can write values of a DataType to a buffer.
  • Method Summary

    Modifier and Type
    Method
    Description
    <B extends MessageBuffer, C extends MessageCodec<B>>
    void
    write(C codec, B buffer, T value)
    Writes a value of type DataType.Writer to the given buffer using the specified codec.
  • Method Details

    • write

      <B extends MessageBuffer, C extends MessageCodec<B>> void write(C codec, B buffer, T value)
      Writes a value of type DataType.Writer to the given buffer using the specified codec.
      Parameters:
      codec - the codec to use for writing
      buffer - the buffer to write to
      value - the value to write