The Crystal Programming Language Forum

Override IO::Buffered::BUFFER_SIZE

The default 8KB buffer in IO::Buffered is way to low for eg. reading from AWS EBS drives, where the minimum read blocksize is 256KB. How can I override it?