public class ByteStringBuilder extends Object
| Constructor and Description |
|---|
ByteStringBuilder(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(byte b) |
void |
append(char c) |
ByteStringBuilder |
append(CharSequence s) |
ByteStringBuilder |
append(CharSequence s,
int start,
int end) |
int |
length() |
void |
setLength(int length) |
byte[] |
toByteArray() |
ByteString |
toByteString() |
String |
toString() |
public ByteString toByteString()
public ByteStringBuilder append(CharSequence s, int start, int end)
public ByteStringBuilder append(CharSequence s)
public void setLength(int length)
public int length()
public void append(char c)
public void append(byte b)
public byte[] toByteArray()
Copyright © 2017. All rights reserved.