DataSource
A source of data.
An abstraction over the byte stream writing operations, this class allows for a flexible way to write bytes to a BufferedSink.
Generally used for specifying a data source when creating/uploading files.
Functions
contentLength
Link copied to clipboard
Return the size of the data to be written.
create
Link copied to clipboard
Create a DataSource instance that reads from a byte array.
Properties
EMPTY
Link copied to clipboard