i have a class that wraps a stream producer and ul...
# announcements
d
i have a class that wraps a stream producer and ultimately `.pipe()`s the stream somewhere. however, in some cases, i need to reify the stream into a bytearray, like imagine the toy case where the user wants to know the length of the stream before piping it . i'd like
.pipe()
to basically go "if bytearray exists, pipe the bytearray. else, produce and pipe the stream". the objective being to avoid doing the work of producing the stream twice.