write

fun write(fileOffset: Long, array: ByteArray, arrayOffset: Int, byteCount: Int)

Reads byteCount bytes from array and writes them to this at fileOffset.


fun write(fileOffset: Long, source: Buffer, byteCount: Long)

Removes byteCount bytes from source and writes them to this at fileOffset.