Module io

Source

Structsยง

Buffered ๐Ÿ”’
Cursor ๐Ÿ”’
WriteBuf ๐Ÿ”’

Enumsยง

ReadStrategy ๐Ÿ”’
WriteStrategy ๐Ÿ”’

Constantsยง

DEFAULT_MAX_BUFFER_SIZE ๐Ÿ”’
The default maximum read buffer size. If the buffer gets this big and a message is still not complete, a TooLarge error is triggered.
INIT_BUFFER_SIZE ๐Ÿ”’
The initial buffer size allocated before trying to read from IO.
MAX_BUF_LIST_BUFFERS ๐Ÿ”’
The maximum number of distinct Bufs to hold in a list before requiring a flush. Only affects when the buffer strategy is to queue buffers.
MINIMUM_MAX_BUFFER_SIZE ๐Ÿ”’
The minimum value that can be set to max buffer size.

Traitsยง

MemRead ๐Ÿ”’

Functionsยง

incr_power_of_two ๐Ÿ”’
prev_power_of_two ๐Ÿ”’