write method

void write(
  1. OutputBuffer out
)
override

Implementation

void write(OutputBuffer out) {
  final v = Int16List(1);
  final vb = Uint16List.view(v.buffer);
  for (int i = 0, l = value.length; i < l; ++i) {
    v[0] = value[i];
    out.writeUint16(vb[0]);
  }
}