public class StringUtils extends Object
Modifier and Type | Method | Description |
---|---|---|
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 contentCopyright © 2018. All rights reserved.