Package-level declarations
Types
A floating point decimal number with arbitrary precision.
An arbitrarily large signed integer
Represents an abstract read-only stream of bytes
ByteStream backed by a local file
Functions
Inherited functions
Writes this stream to the given OutputStream. This method does not flush or close the given OutputStream.
Create a ByteStream from a file with the given range
Create a ByteStream.SourceStream that reads from this InputStream
Create a ByteStream from a path with the given range
Create a ByteStream from a file
Create a ByteStream from a path
Create a ByteStream.SourceStream that reads from the given InputStream
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.
Create a ByteStream from a Flow of byte arrays.
Return a Flow that consumes the underlying ByteStream when collected.
Create a blocking InputStream that reads from the underlying ByteStream.
Write the contents of this ByteStream to file and close it
Write the contents of this ByteStream to file at the given path
Writes this stream to the given OutputStream, then closes it.