Buffer.fromInt32 constructor
Buffer.fromInt32(
- int value
Creates a Buffer from an i32
value.
Implementation
factory Buffer.fromInt32(final int value) =>
Buffer(ByteLength.i32)..setInt32(value, 0);
Creates a Buffer from an i32
value.
factory Buffer.fromInt32(final int value) =>
Buffer(ByteLength.i32)..setInt32(value, 0);