io.reader: make read_all constants public (#20997)

This commit is contained in:
Leron Gray 2024-03-12 01:35:22 -05:00 committed by GitHub
parent 96aa23ff35
commit d6236e1052
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,8 +29,8 @@ mut:
read(mut buf []u8) !int
}
const read_all_len = 10 * 1024
const read_all_grow_len = 1024
pub const read_all_len = 10 * 1024
pub const read_all_grow_len = 1024
// ReadAllConfig allows options to be passed for the behaviour
// of read_all.