PERUnaligned
|
public class PERUnalignedEncoder : PERAlignedEncoder
The PERUnalignedEncoder type exposes the following members.
Name | Description | |
---|---|---|
PERUnalignedEncoder | Initializes a new instance of the PERUnalignedEncoder class |
Name | Description | |
---|---|---|
doAlign | (Overrides PERAlignedEncoderdoAlign(Stream)) | |
encodeT | (Inherited from PERAlignedEncoder) | |
encodeAny | (Inherited from PERAlignedEncoder) | |
encodeBitString | (Inherited from PERAlignedEncoder) | |
encodeBoolean | (Inherited from PERAlignedEncoder) | |
encodeBoxedType | (Inherited from Encoder) | |
encodeChoice |
Encoding of the choice structure
ITU-T X.691. 22.
NOTE – (Tutorial) A choice type is encoded by encoding an index specifying
the chosen alternative. This is encoded as for a constrained integer
(unless the extension marker is present in the choice type,
in which case it is a normally small non-negative whole number)
and would therefore typically occupy a fixed length bit-field of the
minimum number of bits needed to encode the index. (Although it could
in principle be arbitrarily large.) This is followed by the encoding
of the chosen alternative, with alternatives that are extension
additions encoded as if they were the value of an open type field.
Where the choice has only one alternative, there is no encoding
for the index.
(Inherited from PERAlignedEncoder) | |
encodeChoicePreamble | (Inherited from PERAlignedEncoder) | |
encodeClassType | (Inherited from Encoder) | |
encodeConstraintLengthDeterminant |
Encoding constraint length determinant procedure.
ITU-T X.691. 10.9. General rules for encoding a length determinant
(Inherited from PERAlignedEncoder) | |
encodeConstraintNumber | (Overrides PERAlignedEncoderencodeConstraintNumber(Int64, Int64, Int64, BitArrayOutputStream)) | |
encodeCSElement | (Inherited from Encoder) | |
encodeCSEnum | (Inherited from Encoder) | |
encodeElement | (Inherited from Encoder) | |
encodeEnum | (Inherited from Encoder) | |
encodeEnumItem | (Inherited from PERAlignedEncoder) | |
encodeInteger | (Inherited from PERAlignedEncoder) | |
encodeIntegerValueAsBytes | (Inherited from PERAlignedEncoder) | |
encodeLength | (Inherited from PERAlignedEncoder) | |
encodeLengthDeterminant |
Encoding length determinant procedure.
ITU-T X.691. 10.9. General rules for encoding a length determinant
(Inherited from PERAlignedEncoder) | |
encodeNormallySmallNumber |
Encode normally small number
ITU-T X.691. 10.6
NOTE – (Tutorial) This procedure is used when encoding
a non-negative whole number that is expected to be small, but whose size
is potentially unlimited due to the presence of an extension marker.
An example is a choice index.
(Inherited from PERAlignedEncoder) | |
encodeNull | (Inherited from PERAlignedEncoder) | |
encodeObjectIdentifier | (Inherited from PERAlignedEncoder) | |
encodeOctetString | (Inherited from PERAlignedEncoder) | |
encodePreparedElement | (Inherited from Encoder) | |
encodeReal | (Inherited from PERAlignedEncoder) | |
encodeSemiConstraintNumber |
Encoding of a semi-constrained whole number
ITU-T X.691. 10.7.
NOTE – (Tutorial) This procedure is used when a lower bound can be
identified but not an upper bound. The encoding procedure places
the offset from the lower bound into the minimum number of octets
as a non-negative-binary-integer, and requires an explicit length
encoding (typically a single octet) as specified in later procedures.
(Inherited from PERAlignedEncoder) | |
encodeSequence | (Inherited from PERAlignedEncoder) | |
encodeSequenceField | (Inherited from Encoder) | |
encodeSequenceOf | (Inherited from PERAlignedEncoder) | |
encodeSequencePreamble | (Inherited from PERAlignedEncoder) | |
encodeSet | (Inherited from PERAlignedEncoder) | |
encodeString | (Overrides PERAlignedEncoderencodeString(Object, Stream, ElementInfo)) | |
encodeUnconstraintNumber |
Encoding of a unconstrained whole number
ITU-T X.691. 10.8.
NOTE – (Tutorial) This case only arises in the encoding of the
value of an integer type with no lower bound. The procedure
encodes the value as a 2's-complement-binary-integer into
the minimum number of octets required to accommodate the encoding,
and requires an explicit length encoding (typically a single octet)
as specified in later procedures.
(Inherited from PERAlignedEncoder) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
getChoiceSelectedElement | (Inherited from Encoder) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
invokeGetterMethodForField | (Inherited from Encoder) | |
invokeSelectedMethodForField | (Inherited from Encoder) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |