@valkey/valkey-glide
    Preparing search index...

    Class BitOffset

    Represents an offset in an array of bits for the bitfield or bitfieldReadOnly commands.

    For example, if we have the binary 01101001 with offset of 1 for an unsigned encoding of size 4, then the value is 13 from 0(1101)001.

    Implements

    Index

    Constructors

    Methods

    Constructors

    • Creates an instance of BitOffset.

      Parameters

      • offset: number

        The bit index offset in the array of bits. Must be greater than or equal to 0.

      Returns BitOffset

    Methods