Module stringsext::input[][src]

Expand description

Cut the input stream in chunks for batch processing.

Structs

Struct to store the Slicer-iterator state. The iterator fills the input-buffer with bytes coming from files, whose names are given in the vector ARGS.inputs. When one file is exhausted, the iterator switches automatically and transparently to the next file in ARGS.inputs. When no data is left in any file, next() returns None.

Constants

This is the size of input_buffer in bytes. It should be aligned with a multiple of the memory page size, which is - depending on the hardware - n * 4096 bytes.

Type Definitions

This is the type used to count bytes in the input stream. Maybe in a future version we raise this to u128.