public final class ByteStringBuilder extends Object
Constructor and Description |
---|
ByteStringBuilder() |
ByteStringBuilder(byte[] content) |
public ByteStringBuilder()
public ByteStringBuilder(byte[] content)
public ByteStringBuilder append(boolean b)
public ByteStringBuilder append(byte b)
public ByteStringBuilder append(char c)
public ByteStringBuilder appendUtf8Raw(int codePoint)
public ByteStringBuilder appendUtf8(CodePointIterator iterator)
public ByteStringBuilder appendLatin1(CodePointIterator iterator)
public ByteStringBuilder appendAscii(CodePointIterator iterator)
public ByteStringBuilder append(ByteIterator iterator)
public ByteStringBuilder append(byte[] bytes)
public ByteStringBuilder append(byte[] bytes, int offs, int len)
public ByteStringBuilder appendLatin1(CharSequence s)
public ByteStringBuilder appendLatin1(CharSequence s, int offs, int len)
public ByteStringBuilder appendLatin1(String s)
public ByteStringBuilder appendLatin1(String s, int offs, int len)
public ByteStringBuilder append(CharSequence s)
public ByteStringBuilder append(CharSequence s, int offs, int len)
public ByteStringBuilder append(String s)
public ByteStringBuilder append(String s, int offs, int len)
public ByteStringBuilder appendPackedUnsignedBE(int v)
public ByteStringBuilder appendPackedUnsignedBE(long v)
public ByteStringBuilder appendBE(short s)
public ByteStringBuilder appendNumber(int i)
public ByteStringBuilder appendBE(int i)
public ByteStringBuilder appendNumber(long l)
public ByteStringBuilder appendBE(long l)
public ByteStringBuilder appendObject(Object o)
public ByteStringBuilder append(ByteStringBuilder other)
public ByteStringBuilder updateDigest(MessageDigest messageDigest)
public ByteStringBuilder appendDigestResult(MessageDigest messageDigest) throws DigestException
DigestException
public ByteStringBuilder updateMac(Mac mac)
public byte[] toArray()
public byte byteAt(int index)
public int capacity()
public int length()
public void setLength(int newLength)
public boolean contentEquals(byte[] other)
public boolean contentEquals(byte[] other, int offs, int length)
public ByteIterator iterate()
Copyright © 2016 JBoss by Red Hat. All rights reserved.