writePtr

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.