Uses of Class
org.forgerock.opendj.ldap.ByteStringBuilder
Package
Description
Classes and interfaces providing I/O functionality.
Classes and interfaces for core types including connections, entries, and
attributes.
This package contains utilities that can are used by all the packages below org.opends.server.replication.
This package contains the code used by the replication server and by the code running on the Directory Server side to
exchange their information.
Contains implementations for a number of Directory Server data types.
-
Uses of ByteStringBuilder in org.forgerock.opendj.io
Modifier and TypeMethodDescriptionAsn1Reader.readAsn1Element
(ByteStringBuilder builder) Reads the next element and appends its full encoding, which includes tag and length bytes, to the providedByteStringBuilder
.Asn1Reader.readOctetString
(byte type, ByteStringBuilder builder) Reads the next element as an octet string having the provided type tag and appends it to the providedByteStringBuilder
.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 providedByteStringBuilder
.Modifier and TypeMethodDescriptionAsn1Reader.readAsn1Element
(ByteStringBuilder builder) Reads the next element and appends its full encoding, which includes tag and length bytes, to the providedByteStringBuilder
.Asn1Reader.readOctetString
(byte type, ByteStringBuilder builder) Reads the next element as an octet string having the provided type tag and appends it to the providedByteStringBuilder
.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 providedByteStringBuilder
. -
Uses of ByteStringBuilder in org.forgerock.opendj.ldap
Modifier and TypeMethodDescriptionByteStringBuilder.appendBerLength
(int length) Appends the ASN.1 BER length encoding representation of the provided integer to this byte string builder.ByteStringBuilder.appendByte
(int b) Appends the provided byte to this byte string builder.ByteStringBuilder.appendBytes
(byte[] bytes) Appends the provided byte array to this byte string builder.ByteStringBuilder.appendBytes
(byte[] bytes, int offset, int length) Appends the provided byte array to this byte string builder.ByteStringBuilder.appendBytes
(ByteBuffer buffer) Appends the providedByteBuffer
to this byte string builder.ByteStringBuilder.appendBytes
(ByteBuffer buffer, int length) Appends the providedByteBuffer
to this byte string builder.ByteStringBuilder.appendBytes
(ByteString bytes) Appends the providedByteString
to this byte string builder.ByteStringBuilder.appendBytes
(ByteStringReader reader, int length) Appends the providedByteStringReader
to this byte string builder.ByteStringBuilder.appendCompactUnsigned
(long value) Appends the compact encoded bytes of the provided unsigned long to this byte string builder.ByteStringBuilder.appendInt
(int i) Appends the big-endian encoded bytes of the provided integer to this byte string builder.ByteStringBuilder.appendLong
(long l) Appends the big-endian encoded bytes of the provided long to this byte string builder.ByteStringBuilder.appendObject
(Object o) Appends the byte string representation of the provided object to this byte string builder.ByteStringBuilder.appendShort
(int i) Appends the big-endian encoded bytes of the provided short to this byte string builder.ByteStringBuilder.appendUtf8
(char[] chars) Appends the UTF-8 encoded bytes of the provided char array to this byte string builder.ByteStringBuilder.appendUtf8
(String s) Appends the UTF-8 encoded bytes of the provided string to this byte string builder.ByteString.copyTo
(ByteStringBuilder builder) Appends the entire contents of this byte string to the providedByteStringBuilder
.ByteStringBuilder.setByte
(int index, byte b) Sets the byte value at the specified index.ByteStringBuilder.setLength
(int newLength) Sets the length of this byte string builder.Modifier and TypeMethodDescriptionByteString.copyTo
(ByteStringBuilder builder) Appends the entire contents of this byte string to the providedByteStringBuilder
.ModifierConstructorDescriptionCreates a new byte string builder with the content of the provided byte string builder. -
Uses of ByteStringBuilder in org.opends.server.replication.common
Modifier and TypeMethodDescriptionvoid
CSN.toByteString
(ByteStringBuilder builder, CSN.CsnVersion version) Encodes this CSN into the provided byte string builder according to the given CSN version. -
Uses of ByteStringBuilder in org.opends.server.replication.protocol
Modifier and TypeMethodDescriptionvoid
LDAPUpdateMsg.appendEclIncludes
(ByteStringBuilder builder) Appends the encoded attributes to the provided builder.void
AddMsg.appendEncodedAttributes
(ByteStringBuilder builder) Appends the encoded attributes to the provided builder.final void
ModifyCommonMsg.appendEncodedMods
(ByteStringBuilder builder) Appends the encoded modifications to the provided builder. -
Uses of ByteStringBuilder in org.opends.server.types
Modifier and TypeMethodDescriptionCompactAttribute.encodeValues
(ByteStringBuilder builder) Encodes this attribute's values to the provided builder.Modifier and TypeMethodDescriptionCompactAttribute.encodeValues
(ByteStringBuilder builder) Encodes this attribute's values to the provided builder.