| Package | Description |
|---|---|
| io.netty.util |
Utility classes used across multiple packages.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AsciiString
A string which has been encoded into a character encoding whose character always takes a single byte, similarly to
ASCII.
|
| Modifier and Type | Field and Description |
|---|---|
static ByteString |
ByteString.EMPTY_STRING |
| Modifier and Type | Method and Description |
|---|---|
static ByteString |
ByteString.fromAscii(CharSequence value)
Create a new
ByteString assuming ASCII encoding of value. |
ByteString |
ByteString.ByteStringFactory.newInstance(byte[] value,
int start,
int length,
boolean copy) |
ByteString |
ByteString.subSequence(int start)
Copies a range of characters into a new string.
|
ByteString |
ByteString.subSequence(int start,
int end)
Copies a range of characters into a new string.
|
ByteString |
ByteString.subSequence(int start,
int end,
boolean copy)
Either copy or share a subset of underlying sub-sequence of bytes.
|
protected ByteString |
ByteString.subSequence(int start,
int end,
boolean copy,
ByteString.ByteStringFactory factory)
Either copy or share a subset of underlying sub-sequence of bytes.
|
| Constructor and Description |
|---|
AsciiString(ByteString value,
boolean copy) |
ByteString(ByteString value,
boolean copy)
Create a new object which is equal to
value. |
Copyright © 2008–2015 The Netty Project. All rights reserved.