Destroys the PDFString object.
A promise that resolves when the object is destroyed.
Retrieves the string representation.
A promise that resolves to a string representing the object.
Determines if two string objects are identical.
Another string object to compare with.
A promise that resolves to true if the two objects are identical; otherwise, false.
Determines if the object is hexadecimal.
A promise that resolves to true if the object is hexadecimal; otherwise, false.
Sets the hexadecimal representation of the object.
OptionalisHex: boolean = trueWhether to set the string representation as hexadecimal (optional, defaults to true).
A promise that resolves when the hexadecimal representation is set.
StaticcreateCreates a string object from a byte string.
Optionaloptions: Optionsstr - The string value to be used to create the string object. isHex - A boolean value that specifies whether the string is in hexadecimal format (optional, default = true).
Create a PDFString instance. Instead of creating an instance in new mode, use create to create an instance.