| Modifier and Type | Class and Description |
|---|---|
| private static interface |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static String | escapeBytes(final TextFormatEscaper.
Escapes bytes in the format used in protocol buffer text format, which is the same as the format used for C string literals. |
| pack-priv static String | escapeBytes(final ByteString input)
Escapes bytes in the format used in protocol buffer text format, which is the same as the format used for C string literals. |
| pack-priv static String | |
| pack-priv static String | escapeDoubleQuotesAndBackslashes(final String input)
Escape double quotes and backslashes in a String for unicode output of a message. |
| pack-priv static String |
| TextFormatEscaper | back to summary |
|---|---|
| private TextFormatEscaper() | |
| escapeBytes | back to summary |
|---|---|
| pack-priv static String escapeBytes(final TextFormatEscaper. Escapes bytes in the format used in protocol buffer text format, which is the same as the format used for C string literals. All bytes that are not printable 7-bit ASCII characters are escaped, as well as backslash, single-quote, and double-quote characters. Characters for which no defined short-hand escape sequence is defined will be escaped using 3-digit octal sequences. | |
| escapeBytes | back to summary |
|---|---|
| pack-priv static String escapeBytes(final ByteString input) Escapes bytes in the format used in protocol buffer text format, which is the same as the format used for C string literals. All bytes that are not printable 7-bit ASCII characters are escaped, as well as backslash, single-quote, and double-quote characters. Characters for which no defined short-hand escape sequence is defined will be escaped using 3-digit octal sequences. | |
| escapeBytes | back to summary |
|---|---|
| pack-priv static String escapeBytes(final byte[] input) Like | |
| escapeDoubleQuotesAndBackslashes | back to summary |
|---|---|
| pack-priv static String escapeDoubleQuotesAndBackslashes(final String input) Escape double quotes and backslashes in a String for unicode output of a message. | |
| escapeText | back to summary |
|---|---|
| pack-priv static String escapeText(final String input) Like | |
| Modifier and Type | Method and Description |
|---|---|
| public byte | |
| public int |
| byteAt | back to summary |
|---|---|
| public byte byteAt(int offset) | |
| size | back to summary |
|---|---|
| public int size() | |