Function deserializeFeatureFlags

  • 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.

    Parameters

    • buffer: Buffer
    • Optional numberOfFlags: number
    • backward: boolean = false

    Returns FeatureFlags

Generated using TypeDoc