Class UserAttributeSubpacket

  • Direct Known Subclasses:
    ImageAttribute

    public class UserAttributeSubpacket
    extends Object
    Basic type for a user attribute sub-packet.
    • Field Detail

      • data

        protected byte[] data
    • Constructor Detail

      • UserAttributeSubpacket

        protected UserAttributeSubpacket​(int type,
                                         byte[] data)
      • UserAttributeSubpacket

        protected UserAttributeSubpacket​(int type,
                                         boolean forceLongLength,
                                         byte[] data)
    • Method Detail

      • getType

        public int getType()
      • getData

        public byte[] getData()
        return the generic data making up the packet.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object