Uses of Class
org.forgerock.opendj.ldap.ByteStringBuilder
-
Packages that use ByteStringBuilder 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.org.opends.server.replication.protocol This package contains the code used by the replication server and by the code running on the Directory Server side to exchange their information. -
-
Uses of ByteStringBuilder in org.forgerock.opendj.io
Methods in org.forgerock.opendj.io that return ByteStringBuilder Modifier and Type Method Description ByteStringBuilderAsn1Reader. readAsn1Element(ByteStringBuilder builder)Reads the next element and appends its full encoding, which includes tag and length bytes, to the providedByteStringBuilder.ByteStringBuilderAsn1Reader. readOctetString(byte type, ByteStringBuilder builder)Reads the next element as an octet string having the provided type tag and appends it to the providedByteStringBuilder.ByteStringBuilderAsn1Reader. 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.Methods in org.forgerock.opendj.io with parameters of type ByteStringBuilder Modifier and Type Method Description static Asn1WriterAsn1. getWriter(ByteStringBuilder builder)Returns an ASN.1 writer whose destination is the provided byte string builder.static Asn1WriterAsn1. getWriter(ByteStringBuilder builder, int maxBufferSize)Returns an ASN.1 writer whose destination is the provided byte string builder.ByteStringBuilderAsn1Reader. readAsn1Element(ByteStringBuilder builder)Reads the next element and appends its full encoding, which includes tag and length bytes, to the providedByteStringBuilder.ByteStringBuilderAsn1Reader. readOctetString(byte type, ByteStringBuilder builder)Reads the next element as an octet string having the provided type tag and appends it to the providedByteStringBuilder.ByteStringBuilderAsn1Reader. 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
Methods in org.forgerock.opendj.ldap that return ByteStringBuilder Modifier and Type Method Description ByteStringBuilderByteStringBuilder. appendBerLength(int length)Appends the ASN.1 BER length encoding representation of the provided integer to this byte string builder.ByteStringBuilderByteStringBuilder. appendByte(int b)Appends the provided byte to this byte string builder.ByteStringBuilderByteStringBuilder. appendBytes(byte[] bytes)Appends the provided byte array to this byte string builder.ByteStringBuilderByteStringBuilder. appendBytes(byte[] bytes, int offset, int length)Appends the provided byte array to this byte string builder.ByteStringBuilderByteStringBuilder. appendBytes(ByteBuffer buffer)Appends the providedByteBufferto this byte string builder.ByteStringBuilderByteStringBuilder. appendBytes(ByteBuffer buffer, int length)Appends the providedByteBufferto this byte string builder.ByteStringBuilderByteStringBuilder. appendBytes(ByteSequence bytes)Appends the providedByteSequenceto this byte string builder.ByteStringBuilderByteStringBuilder. appendBytes(ByteSequenceReader reader, int length)Appends the providedByteSequenceReaderto this byte string builder.ByteStringBuilderByteStringBuilder. appendCompactUnsigned(long value)Appends the compact encoded bytes of the provided unsigned long to this byte string builder.ByteStringBuilderByteStringBuilder. appendInt(int i)Appends the big-endian encoded bytes of the provided integer to this byte string builder.ByteStringBuilderByteStringBuilder. appendLong(long l)Appends the big-endian encoded bytes of the provided long to this byte string builder.ByteStringBuilderByteStringBuilder. appendObject(Object o)Appends the byte string representation of the provided object to this byte string builder.ByteStringBuilderByteStringBuilder. appendShort(int i)Appends the big-endian encoded bytes of the provided short to this byte string builder.ByteStringBuilderByteStringBuilder. appendUtf8(char[] chars)Appends the UTF-8 encoded bytes of the provided char array to this byte string builder.ByteStringBuilderByteStringBuilder. appendUtf8(String s)Appends the UTF-8 encoded bytes of the provided string to this byte string builder.ByteStringBuilderByteStringBuilder. clear()Sets the length of this byte string builder to zero.ByteStringBuilderByteStringBuilder. 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.ByteStringBuilderByteStringBuilder. compact(int index)Compacts this byte string builder so that all the bytes betweenindexand the end of the builder are relocated to the front of the builder.ByteStringBuilderByteStringBuilder. compact(int index, int length)Compacts this byte string builder so thatlengthbytes beginning at indexindexare relocated to the front of the builder.ByteStringBuilderByteSequence. copyTo(ByteStringBuilder builder)Appends the entire contents of this byte sequence to the providedByteStringBuilder.ByteStringBuilderByteString. copyTo(ByteStringBuilder builder)ByteStringBuilderByteStringBuilder. copyTo(ByteStringBuilder builder)ByteStringBuilderByteStringBuilder. ensureAdditionalCapacity(int size)Ensures that the specified number of additional bytes will fit in this byte string builder and resizes it if necessary.ByteStringBuilderByteStringBuilder. setLength(int newLength)Sets the length of this byte string builder.ByteStringBuilderByteStringBuilder. trimToSize()Attempts to reduce storage used for this byte string builder.Methods in org.forgerock.opendj.ldap with parameters of type ByteStringBuilder Modifier and Type Method Description ByteStringBuilderByteSequence. copyTo(ByteStringBuilder builder)Appends the entire contents of this byte sequence to the providedByteStringBuilder.ByteStringBuilderByteString. copyTo(ByteStringBuilder builder)ByteStringBuilderByteStringBuilder. copyTo(ByteStringBuilder builder) -
Uses of ByteStringBuilder in org.opends.server.replication.common
Methods in org.opends.server.replication.common with parameters of type ByteStringBuilder Modifier and Type Method Description voidCSN. 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
Methods in org.opends.server.replication.protocol with parameters of type ByteStringBuilder Modifier and Type Method Description voidLDAPUpdateMsg. appendEclIncludes(ByteStringBuilder builder)Appends the encoded attributes to the provided builder.voidAddMsg. appendEncodedAttributes(ByteStringBuilder builder)Appends the encoded attributes to the provided builder.voidModifyCommonMsg. appendEncodedMods(ByteStringBuilder builder)Appends the encoded modifications to the provided builder.
-