Package | Description |
---|---|
org.forgerock.opendj.io |
Classes and interfaces providing I/O functionality.
|
org.forgerock.opendj.ldap |
Classes and interfaces for core types including connections, entries, and
attributes.
|
org.opends.server.replication.common |
This package contains utilities that can are used by all the packages below org.opends.server.replication.
|
Modifier and Type | Method and Description |
---|---|
ByteStringBuilder |
Asn1Reader.readOctetString(byte type,
ByteStringBuilder builder)
Reads the next element as an octet string having the provided type tag
and appends it to the provided
ByteStringBuilder . |
ByteStringBuilder |
AbstractAsn1Reader.readOctetString(byte type,
ByteStringBuilder builder) |
ByteStringBuilder |
Asn1Reader.readOctetString(ByteStringBuilder builder)
Reads the next element as an octet string having the Universal Octet
String ASN.1 type tag and appends it to the provided
ByteStringBuilder . |
Modifier and Type | Method and Description |
---|---|
static Asn1Writer |
Asn1.getWriter(ByteStringBuilder builder)
Returns an ASN.1 writer whose destination is the provided byte string
builder.
|
static Asn1Writer |
Asn1.getWriter(ByteStringBuilder builder,
int maxBufferSize)
Returns an ASN.1 writer whose destination is the provided byte string
builder.
|
ByteStringBuilder |
Asn1Reader.readOctetString(byte type,
ByteStringBuilder builder)
Reads the next element as an octet string having the provided type tag
and appends it to the provided
ByteStringBuilder . |
ByteStringBuilder |
AbstractAsn1Reader.readOctetString(byte type,
ByteStringBuilder builder) |
ByteStringBuilder |
Asn1Reader.readOctetString(ByteStringBuilder builder)
Reads the next element as an octet string having the Universal Octet
String ASN.1 type tag and appends it to the provided
ByteStringBuilder . |
Modifier and Type | Method and Description |
---|---|
ByteStringBuilder |
ByteStringBuilder.appendBerLength(int length)
Appends the ASN.1 BER length encoding representation of the provided
integer to this byte string builder.
|
ByteStringBuilder |
ByteStringBuilder.appendByte(int b)
Appends the provided byte to this byte string builder.
|
ByteStringBuilder |
ByteStringBuilder.appendBytes(byte[] bytes)
Appends the provided byte array to this byte string builder.
|
ByteStringBuilder |
ByteStringBuilder.appendBytes(byte[] bytes,
int offset,
int length)
Appends the provided byte array to this byte string builder.
|
ByteStringBuilder |
ByteStringBuilder.appendBytes(ByteBuffer buffer,
int length)
Appends the provided
ByteBuffer to this byte string builder. |
ByteStringBuilder |
ByteStringBuilder.appendBytes(ByteSequence bytes)
Appends the provided
ByteSequence to this byte string builder. |
ByteStringBuilder |
ByteStringBuilder.appendBytes(ByteSequenceReader reader,
int length)
Appends the provided
ByteSequenceReader to this byte string builder. |
ByteStringBuilder |
ByteStringBuilder.appendCompactUnsigned(long value)
Appends the compact encoded bytes of the provided unsigned long to this byte
string builder.
|
ByteStringBuilder |
ByteStringBuilder.appendInt(int i)
Appends the big-endian encoded bytes of the provided integer to this byte
string builder.
|
ByteStringBuilder |
ByteStringBuilder.appendLong(long l)
Appends the big-endian encoded bytes of the provided long to this byte
string builder.
|
ByteStringBuilder |
ByteStringBuilder.appendObject(Object o)
Appends the byte string representation of the provided object to this
byte string builder.
|
ByteStringBuilder |
ByteStringBuilder.appendShort(int i)
Appends the big-endian encoded bytes of the provided short to this byte
string builder.
|
ByteStringBuilder |
ByteStringBuilder.appendUtf8(char[] chars)
Appends the UTF-8 encoded bytes of the provided char array to this byte
string builder.
|
ByteStringBuilder |
ByteStringBuilder.appendUtf8(String s)
Appends the UTF-8 encoded bytes of the provided string to this byte
string builder.
|
ByteStringBuilder |
ByteStringBuilder.clear()
Sets the length of this byte string builder to zero.
|
ByteStringBuilder |
ByteStringBuilder.clearAndTruncate(int thresholdCapacity,
int newCapacity)
Sets the length of this byte string builder to zero, and resets the
capacity to the specified size if above provided threshold.
|
ByteStringBuilder |
ByteStringBuilder.copyTo(ByteStringBuilder builder) |
ByteStringBuilder |
ByteString.copyTo(ByteStringBuilder builder) |
ByteStringBuilder |
ByteSequence.copyTo(ByteStringBuilder builder)
Appends the entire contents of this byte sequence to the provided
ByteStringBuilder . |
ByteStringBuilder |
ByteStringBuilder.ensureAdditionalCapacity(int size)
Ensures that the specified number of additional bytes will fit in this
byte string builder and resizes it if necessary.
|
ByteStringBuilder |
ByteStringBuilder.setLength(int newLength)
Sets the length of this byte string builder.
|
ByteStringBuilder |
ByteStringBuilder.trimToSize()
Attempts to reduce storage used for this byte string builder.
|
Modifier and Type | Method and Description |
---|---|
ByteStringBuilder |
ByteStringBuilder.copyTo(ByteStringBuilder builder) |
ByteStringBuilder |
ByteString.copyTo(ByteStringBuilder builder) |
ByteStringBuilder |
ByteSequence.copyTo(ByteStringBuilder builder)
Appends the entire contents of this byte sequence to the provided
ByteStringBuilder . |
Modifier and Type | Method and Description |
---|---|
void |
CSN.toByteString(ByteStringBuilder builder)
Encodes this CSN into the provided byte string builder.
|
void |
CSN.toByteString(ByteStringBuilder builder,
CSN.CsnVersion version)
Encodes this CSN into the provided byte string builder according to the given CSN version.
|
Copyright 2010-2022 ForgeRock AS.