write static method

int write(
  1. int value,
  2. Uint8List buf
)

Implementation

static int write(int value, Uint8List buf) {
  buf.buffer.asByteData(buf.offsetInBytes).setInt32(0, value);
  return FfiConverterInt32.allocationSize();
}