- Preparing search index...
- The search index is not available
API References
Function deserializeFeatureFlags
- deserializeFeatureFlags(buffer: Buffer, numberOfFlags?: number, backward?: boolean): FeatureFlags
-
Parameters
-
buffer: Buffer
-
Optional
numberOfFlags: number
-
backward: boolean = false
Parses a Buffer into an array of booleans using the bits of the buffer. The number of flags can be provided to determine how many booleans to return.
Expects the bits in the Buffer to be ordered from left to right, unless
backward
is set to true, we expect the bits to be ordered from right to left.