BITFIELD_RO

Reads an integer bit field without modifying the string.

Bitmaps · Example verified

Syntax covered here

BITFIELD_RO key GET u4 offset

The verified encoding is u4, an unsigned four-bit field populated through SETBIT.

Tested example & replies

Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.

# connection: default
> SETBIT bits 1 1
0
# connection: default
> BITFIELD_RO bits GET u4 0
[4]