JanetDocsPlaygroundI'm feeling luckyGitHub sign in

buffer/bit-set



    cfunction

    (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