function inetFrame
inetFrame(): Coder<FrameRefined>

Creates a composed coder that walks an Ethernet II frame (@binstruct/ethernet) top-down, dispatching the L2.5/L3 payload by etherType and every deeper layer by its own discriminator field. Frames whose tag has no matching coder surface their payload as a raw Uint8Array.

Return Type

A coder for FrameRefined values.

Usage

import { inetFrame } from ".";