EMuint16_t
Bun

enum member

ffi.FFIType.uint16_t

uint16_t = 4

16-bit unsigned integer

Must be a value between 0 and 65535, inclusive.

When passing to a FFI function (C ABI), type coercion is not performed.

In C:

uint16_t
unsigned short // on arm64 & x64

In JavaScript:

var num = 0;