Represents an unsigned 9-bit integer. A union of integer literals from 0 to 511 (2^9 - 1).
0
511
Less commonly used than 8-bit or 16-bit integers, but useful for specific protocols or data formats that require 9-bit precision.
type NineBitValue = Uint9;const validate9Bit = (value: number): value is Uint9 => { return Number.isInteger(value) && value >= 0 && value <= 511;}; Copy
type NineBitValue = Uint9;const validate9Bit = (value: number): value is Uint9 => { return Number.isInteger(value) && value >= 0 && value <= 511;};
Represents an unsigned 9-bit integer. A union of integer literals from
0to511(2^9 - 1).Less commonly used than 8-bit or 16-bit integers, but useful for specific protocols or data formats that require 9-bit precision.