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.
OptionaloptionsSets the hexadecimal representation of the object.
Whether to set the string representation as hexadecimal (optional, defaults to true).
A promise that resolves when the hexadecimal representation is set.
Destroys the PDFString object.