public final class BufferString extends Object implements Comparable<BufferString>
| Constructor and Description |
|---|
BufferString(byte[] buf,
int start,
int length) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendToBuffer(byte[] buffer,
int start)
附加到Buffer上
|
byte |
byteAt(int pos) |
int |
compareTo(BufferString string) |
boolean |
equals(Object object) |
int |
hashCode() |
int |
length() |
String |
toString() |
String |
toString(String... encoding) |
int |
write(OutputStream out) |
public void appendToBuffer(byte[] buffer,
int start)
buffer - start - public byte byteAt(int pos)
public int length()
public int write(OutputStream out) throws IOException
IOExceptionpublic int compareTo(BufferString string)
compareTo in interface Comparable<BufferString>Copyright © 2006–2018 TinyGroup. All rights reserved.