mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 16:47:28 +01:00
Add doc/note/slices-arrays-and-tables.md
This commit is contained in:
1 parent
392c8c544a
commit
97c6ef5f50
3 files changed
+87
-3
No files matched your search
@@ -16,9 +16,10 @@ decompressed bytes to a destination buffer.
|
||||
|
||||
## I/O Buffers
|
||||
|
||||
An `io_buffer` is a [slice](/doc/note/slices-and-tables.md) of bytes (the data,
|
||||
a `ptr` and `len`) with additional fields (the metadata): a read index (`ri`),
|
||||
a write index (`wi`), a position (`pos`) and whether or not it is `closed`.
|
||||
An `io_buffer` is a [slice](/doc/note/slices-arrays-and-tables.md) of bytes
|
||||
(the data, a `ptr` and `len`) with additional fields (the metadata): a read
|
||||
index (`ri`), a write index (`wi`), a position (`pos`) and whether or not it is
|
||||
`closed`.
|
||||
|
||||
|
||||
## Read Index and Write Index
|
||||
|
||||
Reference in new issue
Block a user