Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InternalEscapeBytes ¶
InternalEscapeBytes escapes redaction markers in the provided buf starting at the location startLoc. The bytes before startLoc are considered safe (already escaped).
If breakNewLines is set, a closing redaction marker is placed before sequences of one or more newline characters, and an open redaction marker is placed afterwards.
If strip is set, final newlines and spaces are trimmed from the output.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.