Skip to content
Commit Detail

Commit 8f9c4a4

Author
James M Snell <jsnell@cloudflare.com> 2025-10-03 14:16:19 -0700
Parents
69940d5
Tree
b8c3842
Improve MemoryInputStream

Improve and expand the implementation of MemoryInputStream.
This will soon be used to replace the duplicative stream
implementations in: BlobInputStream, EmailPartInputStream,
BodyBufferInputStream, and a couple of test stream impls.

The improvements here include better handling of pumpTo,
and teeing, as well as allowing the stream to hold onto
its underlying backing.

Files changed

2 files changed~2 modified