Interface DataConvention
public interface DataConvention
A convention that defines how to retrieve the contents of a data.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet theValueGetterSetterthat accesses the element segment, as aByteBuffer.default voidEmit code to drop the data.
-
Method Details
-
byteBuffer
ValueGetterSetter byteBuffer()Get theValueGetterSetterthat accesses the element segment, as aByteBuffer.- Returns:
- A
ValueGetterSetterto the array.
-
emitDrop
Emit code to drop the data.By default, this stores a new 0-length
ByteBuffertobyteBuffer().- Parameters:
ib- The instruction builder.fx- TheWasmOps.DATA_DROPinstruction.
-