Expand description
The library main module.
Structs§
- CharEntity struct
- DecodedData, impl the ICodedDataTrait and IBytesTrait and IntoIterator.
- EncodedData, impl the ICodedDataTrait and IBytesTrait and IntoIterator.
- Entity struct
Enums§
- The character set that needs to be encoded to html entity.
- EncodeType: html entity encoding format
Traits§
- ICodedDataTrait
Functions§
- Decode html entities in utf-8 bytes.
- Decode the html entities in the character list.
- Similar to the
decode_chars
method, but directly writes the character data into the last parameter passed in. - Similar to the
decode
method, but directly writes the byte data into the last parameter passed in. - Encode characters in the utf-8 bytes into html entities according to the specified encoding format and specified encoding character set.
- Encode character into html entity.
- Encode a list of characters using a filter function.
- Similar to the
encode
method, but directly writes the byte data into the last parameter passed in. - Encode the html entities in utf-8 bytes into encoded data, and specify the characters to be encoded and the encoding format through the
filter_fn
method parameter. - Similar to the
encode_with
method, but directly writes the byte data into the last parameter passed in.