write abstract method

void write(
  1. BinaryWriter writer,
  2. T obj
)

Is called when a value has to be encoded.

Implementation

void write(BinaryWriter writer, T obj);