ByteStream
Represents an abstract read-only stream of bytes
Types
Link copied to clipboard
Variant of a ByteStream with payload represented as an in-memory byte buffer.
Link copied to clipboard
Variant of a ByteStream with a streaming payload read from an SdkByteReadChannel
Link copied to clipboard
Variant of a ByteStream with a streaming payload read from an SdkSource
Properties
Inheritors
Extensions
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
Write the contents of this ByteStream to file and close it
Write the contents of this ByteStream to file at the given path