|
All LDAP Classes Internal LDAP Classes |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.ldap.asn1.ASN1Length
public class ASN1Length
This class provides a means to manipulate ASN.1 Length's. It will be used by ASN1Encoder's and ASN1Decoder's by composition.
Field Summary | |
---|---|
private int |
encodedLength
|
private int |
length
|
Constructor Summary | |
---|---|
ASN1Length()
Constructs an empty ASN1Length. |
|
ASN1Length(java.io.InputStream in)
Constructs an ASN1Length object by decoding data from an input stream. |
|
ASN1Length(int length)
Constructs an ASN1Length |
Method Summary | |
---|---|
int |
getEncodedLength()
Returns the encoded length of this ASN1Length. |
int |
getLength()
Returns the length of this ASN1Length. |
void |
reset(java.io.InputStream in)
Resets an ASN1Length object by decoding data from an input stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int length
private int encodedLength
Constructor Detail |
---|
public ASN1Length()
public ASN1Length(int length)
public ASN1Length(java.io.InputStream in) throws java.io.IOException
in
- A byte stream that contains the encoded ASN.1
java.io.IOException
Method Detail |
---|
public final void reset(java.io.InputStream in) throws java.io.IOException
in
- A byte stream that contains the encoded ASN.1
java.io.IOException
public final int getLength()
public final int getEncodedLength()
|
All LDAP Classes Internal LDAP Classes |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |