Interface PiPacketMetadataModel


  • @Beta
    public interface PiPacketMetadataModel
    Model of a packet metadata for a protocol-independent pipeline.
    • Method Detail

      • id

        PiPacketMetadataId id()
        Returns the ID of this packet metadata.
        Returns:
        packet operation metadata ID
      • bitWidth

        int bitWidth()
        Returns the size in bits of this metadata.
        Returns:
        size in bit
      • hasBitWidth

        boolean hasBitWidth()
        Return true is the packet metadata has a fixed bit width. It returns false if it can have flexible bit width.
        Returns:
        True if the packet metadata has fixed bit width, false otherwise