mirror of
https://github.com/janet-lang/janet
synced 2025-02-15 00:00:01 +00:00
Update docs for buffer/push-word
Should be little endian, not big endian.
This commit is contained in:
parent
b17bf259f7
commit
2349ea9405
@ -387,7 +387,7 @@ static const JanetReg buffer_cfuns[] = {
|
||||
"buffer/push-word", cfun_buffer_word,
|
||||
JDOC("(buffer/push-word buffer x)\n\n"
|
||||
"Append a machine word to a buffer. The 4 bytes of the integer are appended "
|
||||
"in twos complement, big endian order, unsigned. Returns the modified buffer. Will "
|
||||
"in twos complement, little endian order, unsigned. Returns the modified buffer. Will "
|
||||
"throw an error if the buffer overflows.")
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user