Buffer.fromInt16 constructor
Buffer.fromInt16(
- int value
Creates a Buffer from an i16
value.
Implementation
factory Buffer.fromInt16(final int value) =>
Buffer(ByteLength.i16)..setInt16(value, 0);
Creates a Buffer from an i16
value.
factory Buffer.fromInt16(final int value) =>
Buffer(ByteLength.i16)..setInt16(value, 0);