1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00
Files
node-redis/lib/commands/SETBIT.ts
2021-07-13 19:35:07 -04:00

10 lines
306 B
TypeScript

import { BitValue, transformReplyBit } from './generic-transformers';
export const FIRST_KEY_INDEX = 1;
export function transformArguments(key: string, offset: number, value: BitValue) {
return ['SETBIT', key, offset.toString(), value.toString()];
}
export const transformReply = transformReplyBit;