Package com.oss.asn1

Class AbstractDataWithPositions

java.lang.Object
com.oss.asn1.AbstractDataWithPositions

public class AbstractDataWithPositions extends Object
The AbstractDataWithPositions class is a container which wraps an AbstractData decoded value object and an AbstractDataPositions object, which represents offset/size information of components of decoded value.
Since:
ASN.1/Java 4.0 Beta A
  • Constructor Details

    • AbstractDataWithPositions

      public AbstractDataWithPositions(AbstractData decodedValue, AbstractDataPositions positions, int size)
      The constructor.
      Parameters:
      decodedValue - decoded value as AbstractData
      positions - AbstractDataPositions object
      size - size of encoded field in bits
  • Method Details

    • getDecodedValue

      public AbstractData getDecodedValue()
      Return decoded value.
      Returns:
      decoded value.
    • getPositions

      public AbstractDataPositions getPositions()
      Return positions.
      Returns:
      positions.
    • getSize

      public int getSize()
      Return size.
      Returns:
      size of encoded field in bits.