JanetDocsPlaygroundI'm feeling luckyGitHub sign in

buffer/bit-set



    cfunction
    src/core/buffer.c on line 360, column 1

    (buffer/bit-set buffer index)

    Sets the bit at the given bit-index. Returns the buffer.


1 exampleSign in to add an example
Loading...
(buffer/bit-set @"hahaha" 3) # => @"hahaha"

(buffer/bit-set @"what" 3) # => @"\x7Fhat"

jgartePlayground