String returns a human-readable string representation of the encoding. This is particularly useful for logging and user interfaces, providing a user-friendly name for the encoding.
()
| 35 | // This is particularly useful for logging and user interfaces, providing |
| 36 | // a user-friendly name for the encoding. |
| 37 | String() string |
| 38 | |
| 39 | // HasSequence checks if the given data starts with this encoding's BOM sequence. |
| 40 | // This method allows for efficient checking of whether a given byte slice |
no outgoing calls