MemorySection
data class MemorySection
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
Encodes the receiving MemorySection as a sequence of Bytes.
Receiver
Name | Description |
---|---|
MemorySection
|
ReturnValue
Name | Description |
---|---|
Sequence
|
Represents the Memory Section of a binary-encoded WebAssembly module.