write

fun write(data: ByteArray, offset: Int = 0, length: Int = data.size - offset)

Writes length bytes from the specified data byte array starting at offset to this Large Object.

Parameters

data

The byte array containing the data to be written.

offset

The start offset in the data array. Defaults to 0.

length

The number of bytes to write. Defaults to the remaining bytes in the array.