Buffer
Variant of a ByteStream with payload represented as an in-memory byte buffer.
Properties
Functions
Inherited functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Consume the ByteStream and pull the entire contents into memory as a ByteArray. Only do this if you are sure the contents fit in-memory as this will read the entire contents of a streaming variant.
Link copied to clipboard
Return a Flow that consumes the underlying ByteStream when collected.