Constant uu_tail::chunks::BUFFER_SIZE
source · pub const BUFFER_SIZE: usize = 8192;Expand description
The size of the backing buffer of a LinesChunk or BytesChunk in bytes. The value of BUFFER_SIZE originates from the BUFSIZ constant in stdio.h and the libc crate to make stream IO efficient. In the latter the value is constantly set to 8192 on all platforms, where the value in stdio.h is determined on each platform differently. Since libc chose 8192 as a reasonable default the value here is set to this value, too.