Create a trapHost that can be paired with makeAtomicsTrapGuest.
This host encodes the transfer buffer and returns it in consecutive slices when the guest iterates over it.
Create a trapHost that can be paired with makeAtomicsTrapGuest.
This host encodes the transfer buffer and returns it in consecutive slices when the guest iterates over it.