write

inline fun Memory.write(block: MemoryWriter.() -> Unit)(source)

Uses the memory for write then releases the writer.


fun <T : Any> MemoryWriter.write(spec: MemorySpec<T>, offset: Int, value: T)(source)

Writes the object value with spec starting from offset.