# expose std.io.bufferedReaderSize · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/f945c2a1c8384319f9588a8f95ff8c97821213fe)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: f945c2a1c8384319f9588a8f95ff8c97821213fe

Requested commit: f945c2a1c8384319f9588a8f95ff8c97821213fe

Commit: f945c2a1c8384319f9588a8f95ff8c97821213fe

Tree: b2e0661a70603f140bc7a1709e856f111090f4a0

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
expose std.io.bufferedReaderSize

This allows setting a custom buffer size. In this case I wanted it
because using a buffer size large enough to fit a TLS ciphertext record
elides a memcpy().

This commit also adds `readAtLeast` to the Reader interface.

```

## Parents

- [c50f65304f1fd9819fc1e7c0144d5329b6863b9c](https://git.cafe/gitcafe/zig/commit/c50f65304f1fd9819fc1e7c0144d5329b6863b9c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/f945c2a1c8384319f9588a8f95ff8c97821213fe?format=markdown)
