Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ Read a buffer with specified length
### nextString(length, [encoding])
Read next length of bytes as String, encoding default is 'utf8'

### nextStringZero([encoding])
Read next bytes till the end of buffer as null-terminated string, encoding default is 'utf8'.

### next(Int8|UInt8)\[(Int16|UInt16|Int32|UInt32|Float|Double)(LE|BE)\]()
Read next bytes as given types, the value is just as the same format Buffer in nodejs doc.

Expand Down