ASN1C C# Runtime Library
7.7
|
Public Member Functions | |
Asn1SizeConstraint (long lower, long upper) | |
Asn1SizeConstraint (long lower, long upper, long extLower, long extUpper) | |
Properties | |
bool | Extensible [get, set] |
long | ExtLower [get, set] |
long | ExtUpper [get, set] |
long | RootLower [get, set] |
long | RootUpper [get, set] |
This class is used to represent a size constraint. Only sizes represented as a single value or range are supported.
This class is mainly for internal use by the compiler when generating methods that encode/decode PER SEQUENCE OF components containing size constraints.
Asn1SizeConstraint | ( | long | lower, |
long | upper | ||
) |
This constructor sets the range values for a non-extensisble constraint.
Asn1SizeConstraint | ( | long | lower, |
long | upper, | ||
long | extLower, | ||
long | extUpper | ||
) |
This constructor sets the range values for an extensisble constraint.
|
getset |
Is constraint extensible?
Referenced by Asn1PerDecodeBuffer.DecodeLength(), and Asn1PerEncodeBuffer.EncodeLength().
|
getset |
Extension lower bound.
|
getset |
Extension upper bound.
|
getset |
Root lower bound.
Referenced by Asn1PerDecodeBuffer.DecodeLength(), and Asn1PerEncodeBuffer.EncodeLength().
|
getset |
Root upper bound.
Referenced by Asn1PerDecodeBuffer.DecodeLength(), and Asn1PerEncodeBuffer.EncodeLength().