Class Data

    • Field Detail

      • value

        @NonNull
        public byte[] value
    • Constructor Detail

      • Data

        public Data()
      • Data

        public Data​(@NonNull
                    byte[] value)
      • Data

        public Data​(@Nullable
                    Data data)
      • Data

        public Data​(byte repeating,
                    int count)
      • Data

        public Data​(@Nullable
                    java.lang.String base64EncodedString)
    • Method Detail

      • base64EncodedString

        @NonNull
        public java.lang.String base64EncodedString()
      • hexEncodedString

        @NonNull
        public java.lang.String hexEncodedString()
      • fromHexEncodedString

        @NonNull
        public static Data fromHexEncodedString​(@Nullable
                                                java.lang.String hexEncodedString)
      • description

        @NonNull
        public java.lang.String description()
      • subdata

        @Nullable
        public Data subdata​(int offset)
      • subdata

        @Nullable
        public Data subdata​(int offset,
                            int length)
      • append

        public void append​(@Nullable
                           Data data)
      • equals

        public boolean equals​(@Nullable
                              java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        @NonNull
        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • append

        public void append​(@Nullable
                           UInt8 value)
      • uint8

        @Nullable
        public UInt8 uint8​(int index)
      • append

        public void append​(@Nullable
                           Int8 value)
      • int8

        @Nullable
        public Int8 int8​(int index)
      • append

        public void append​(@Nullable
                           UInt16 value)
      • uint16

        @Nullable
        public UInt16 uint16​(int index)
      • append

        public void append​(@Nullable
                           Int16 value)
      • int16

        @Nullable
        public Int16 int16​(int index)
      • append

        public void append​(@Nullable
                           UInt32 value)
      • uint32

        @Nullable
        public UInt32 uint32​(int index)
      • append

        public void append​(@Nullable
                           Int32 value)
      • int32

        @Nullable
        public Int32 int32​(int index)
      • append

        public void append​(@Nullable
                           UInt64 value)
      • uint64

        @Nullable
        public UInt64 uint64​(int index)
      • append

        public void append​(@Nullable
                           Int64 value)
      • int64

        @Nullable
        public Int64 int64​(int index)
      • append

        public void append​(@Nullable
                           UIntBig value)
      • uintBig

        public UIntBig uintBig​(int index)
      • append

        public void append​(@Nullable
                           Float16 value)
      • float16

        @Nullable
        public Float16 float16​(int index)
      • append

        public boolean append​(@Nullable
                              java.lang.String value)