Class PiBitString

  • All Implemented Interfaces:
    PiData

    @Beta
    public final class PiBitString
    extends Object
    implements PiData
    BitString entity in a protocol-independent pipeline.
    • Method Detail

      • of

        public static PiBitString of​(ImmutableByteSequence bitString)
        Returns a new protocol-independent BitString.
        Parameters:
        bitString - bitString
        Returns:
        BitString
      • bitString

        public ImmutableByteSequence bitString()
        Return protocol-independent bitString instance.
        Returns:
        bitString
      • type

        public PiData.Type type()
        Description copied from interface: PiData
        Returns the type of this protocol-independent data.
        Specified by:
        type in interface PiData
        Returns:
        the type of this instance
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object