Interface FixedBinaryDef

All Superinterfaces:
FieldDef

public interface FixedBinaryDef extends FieldDef
FixedBinaryDef is an extension of FieldDef to encapsulate a fixed length binary value.
Since:
3.0
  • Method Details

    • getSize

      int getSize()
      Returns:
      the size of the binary value in bytes
    • getName

      String getName()
      Returns:
      the name of the type. A name is required for serialization.
    • clone

      Description copied from interface: FieldDef
      Perform a deep copy of this FieldDef instance.
      Specified by:
      clone in interface FieldDef
      Returns:
      a deep copy of this object
    • fromString

      FixedBinaryValue fromString(String encodedString)
      Creates a FixedBinaryValue instance from a String. The String must be a Base64 encoded string returned from FixedBinaryValue.toString().
      Returns:
      a String representation of the value
      Throws:
      IllegalArgumentException - if the string cannot be decoded