Class ExtendibleOctetString

    • Constructor Detail

      • ExtendibleOctetString

        protected ExtendibleOctetString()
        Nullary constructor.
      • ExtendibleOctetString

        protected ExtendibleOctetString​(byte[] byteArray)
        Constructs from a given initial byte array.
        Parameters:
        byteArray - byte array
    • Method Detail

      • getFieldAccessors

        public static FieldAccessor[] getFieldAccessors()
        Gets a new array of the accessors for fields of this type.
        Returns:
        FieldAccessor[]
      • getFieldsMap

        public Map<String,​Object> getFieldsMap​(boolean withAbsents)
        Gets a Map from field-name to field-value containing just the byte array field.
        Specified by:
        getFieldsMap in class AbstractFieldsObject
        Parameters:
        withAbsents - whether to put absent optional fields into Map
        Returns:
        Map from field-name to field-value
      • getByteArray

        public byte[] getByteArray()
        Gets the value of the field byteArray.
        Returns:
        value of field byteArray, or null if not present
      • hasByteArray

        public boolean hasByteArray()
        Tests whether the field byteArray has a value.
        Returns:
        true iff the field byteArray has a value