Skip to content

Commit

Permalink
Fix signature of buffer.tostring in the buffer RFC (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
vegorov-rbx authored Nov 8, 2023
1 parent 2d619a8 commit cdaab65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/type-byte-buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Each byte is initialized to 0.
Instantiates the object from a string.
The size of the buffer is fixed and equals to the length of the string.

`buffer.tostring(): string`
`buffer.tostring(b: buffer): string`

Returns the buffer data as a string.

Expand Down

0 comments on commit cdaab65

Please sign in to comment.