Encoding
enum · ferroui-base · v0.5.0
enum Encoding
The text encodings the table readers decode (the counterpart of the
System.Text.Encoding instances the reference implementation selects).
Malformed input never fails: invalid sequences decode to U+FFFD.
Members
BigEndianUnicode
BigEndianUnicode
UTF-16, big-endian.
UTF8
UTF8
UTF-8.
get_string
fn get_string(self: &Self, bytes: &[u8]) -> String
Decodes bytes.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqEqHash
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.