write static method

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

Implementation

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