DirectWritingStrategy

A WritingStrategy that immediately writes to the WritableDataProvider.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun finishWriting()
Called by the OutputStreamAdapter once the last byte was written.
Link copied to clipboard
open fun prepare(@NonNull adapter: OutputStreamAdapter)
Called by the OutputStreamAdapter before the first byte is written.
Link copied to clipboard
open fun write(@NonNull data: Array<Byte>)
Called by the OutputStreamAdapter with the data that should be written.