MemorySection

MemorySection

data class MemorySection

Represents the Memory Section of a binary-encoded WebAssembly module.

Fields

Name Description
val memories: List<MemoryType>

Constructors

<init>

constructor(memories: List<MemoryType>)

Represents the Memory Section of a binary-encoded WebAssembly module.

Parameters

Name Description
memories: List<MemoryType>

Extensions

toBytesNoHeader

fun MemorySection.toBytesNoHeader(): Sequence<Byte>

Encodes the receiving MemorySection as a sequence of Bytes.

Receiver

Name Description
MemorySection

ReturnValue

Name Description
Sequence<Byte>