Writer

interface Writer

Provides an interface for writing data into the attachment

Functions

Link copied to clipboard
abstract fun close(error: Boolean = false)

Close the writer

Link copied to clipboard
abstract fun isClosed(): Boolean

Check whether closed or not

Link copied to clipboard
abstract fun write(buffer: ByteBuffer)

Write buffer into the attachment