NativeOutputStream

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
actual open override fun close()
Link copied to clipboard
open override fun write(b: ByteArray, off: Int, len: Int)
actual open fun write(b: ByteArray)
actual abstract fun write(b: Int)
Link copied to clipboard
inline fun <T> writeAllPtr(buffer: <Error class: unknown class><T>, count: Int)
abstract fun <T> writeAllPtr(buffer: <Error class: unknown class><T>, size: SizeT, count: SizeT)
Link copied to clipboard
inline fun <T> writePtr(buffer: <Error class: unknown class><T>, count: SizeT): SizeT

Write the buffer with the given amount of elements. It gets the element size from the type parameter.

abstract fun <T> writePtr(buffer: <Error class: unknown class><T>, size: SizeT, count: SizeT): SizeT

Write the buffer to the underlying stream. Effectively wrapping fwrite.