FabricRemotePayload

class FabricRemotePayload : CustomPacketPayload(source)

Owns one bounded opaque Strata frame, independently of caller arrays and borrowed native codec buffers. Identity remains per payload; every returned byte array is detached from its storage.

Constructors

Link copied to clipboard
constructor(bytes: ByteArray)

Validates and copies one nonempty frame of at most 24576 bytes.

Types

Link copied to clipboard
object Companion

Supplies the fixed native channel type and bounded raw-byte codec without retaining native buffers.

Functions

Link copied to clipboard

Returns an independently owned frame for the receiving adapter's queue.

Link copied to clipboard
open override fun type(): CustomPacketPayload.Type<FabricRemotePayload>