Skip to content

Commit

Permalink
io.reader: make read_all constants public (#20997)
Browse files Browse the repository at this point in the history
  • Loading branch information
daddycocoaman committed Mar 12, 2024
1 parent 96aa23f commit d6236e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vlib/io/reader.v
Expand Up @@ -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.
Expand Down

0 comments on commit d6236e1

Please sign in to comment.