From d6236e10520f34a38b09ae4aa045bb35a492f2ef Mon Sep 17 00:00:00 2001 From: Leron Gray Date: Tue, 12 Mar 2024 01:35:22 -0500 Subject: [PATCH] io.reader: make read_all constants public (#20997) --- vlib/io/reader.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/io/reader.v b/vlib/io/reader.v index 1b9e11719b..efd705bbfa 100644 --- a/vlib/io/reader.v +++ b/vlib/io/reader.v @@ -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.