Package com.unboundid.asn1
Class ASN1BufferSet
- java.lang.Object
-
- com.unboundid.asn1.ASN1BufferSet
-
- All Implemented Interfaces:
java.io.Serializable
@Mutable @ThreadSafety(level=NOT_THREADSAFE) public final class ASN1BufferSet extends java.lang.Object implements java.io.Serializable
This class provides a data structure which is used in the course of writing an ASN.1 set to an ASN.1 buffer. It keeps track of the position at which the set value begins so that the appropriate length may be inserted after all embedded elements have been added. Theend()
method must be called after all elements have been added to ensure that the length is properly computed and inserted into the associated buffer.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
end()
Updates the associated ASN.1 buffer to indicate that all sequence elements have been added and that the appropriate length should be inserted.
-
-
-
Method Detail
-
end
public void end()
Updates the associated ASN.1 buffer to indicate that all sequence elements have been added and that the appropriate length should be inserted.
-
-