index.nct
use /io.Reader
use /io/buffer.BufReader
use /iter/asynchronous.{AsyncIterator, AsyncLendingIterator}
use /scan.{ByteWindow, TextWindow}
use /string.String
use /vec.Vec
see ./chunks.nct
see ./lines.nct
pub struct ByteChunks<R>
construct ByteChunks<R> {
pub func new(source: R): Self where R impl Reader
pub func with_chunk_size(source: R, requested_chunk_size: usize): Self where R impl Reader
}
instance ByteChunks<R> where R impl Reader {
impl AsyncIterator { .Item = Vec<u8> }
pub method self.finish(): R
}
pub struct ByteWindows<R>
construct ByteWindows<R> {
pub func new(source: R): Self where R impl Reader
pub func with_window_size(source: R, requested_window_size: usize): Self where R impl Reader
}
instance ByteWindows<R> where R impl Reader {
impl AsyncLendingIterator { .Item = ByteWindow }
pub method self.finish(): R
}
pub struct Lines<R>
construct Lines<R> {
pub func new(source: R, maximum_encoded_line_bytes: usize): Self where R impl Reader
pub func with_limits(
source: R,
requested_buffer_capacity: usize,
maximum_encoded_line_bytes: usize,
): Self where R impl Reader
}
instance Lines<R> where R impl Reader {
impl AsyncIterator { .Item = String }
pub method self.finish(): R
}
pub struct LineWindows<R>
construct LineWindows<R> {
pub func new(source: R, maximum_encoded_line_bytes: usize): Self where R impl Reader
pub func with_limits(
source: R,
requested_buffer_capacity: usize,
maximum_encoded_line_bytes: usize,
): Self where R impl Reader
}
instance LineWindows<R> where R impl Reader {
impl AsyncLendingIterator { .Item = TextWindow }
pub method self.finish(): R
}