@param bin the Binary to convert
@param stringLength the maximum length of stringified content (excluding the quotes, and truncated indicator)
@param appendIfTruncated appends "...(truncated)" if not all of the payload is present in the string
@return the converted string
Converts the Binary to a quoted string.
@param bin the Binary to convert @param stringLength the maximum length of stringified content (excluding the quotes, and truncated indicator) @param appendIfTruncated appends "...(truncated)" if not all of the payload is present in the string @return the converted string