public class StringUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
convertCharsToBytes(char[] chars)
Converts an array of unsigned 16bit numbers to an array of bytes.
|
static byte[] |
escapeString(byte[] bytes)
Escapes a
byte array according to the PDF conventions. |
static void |
escapeString(byte[] bytes,
ByteBuffer content)
Escapes a
byte array according to the PDF conventions. |
public static byte[] escapeString(byte[] bytes)
byte array according to the PDF conventions.bytes - the byte array to escapebyte arraypublic static void escapeString(byte[] bytes,
ByteBuffer content)
byte array according to the PDF conventions.bytes - the byte array to escapecontent - the contentpublic static byte[] convertCharsToBytes(char[] chars)
chars - the array of 16bit numbers that should be convertedCopyright © 2024. All rights reserved.