Trait valence::nbt::binary::ToModifiedUtf8
pub trait ToModifiedUtf8 {
// Required methods
fn modified_uf8_len(&self) -> usize;
fn to_modified_utf8<W>(
&self,
encoded_len: usize,
writer: W,
) -> Result<(), Error>
where W: Write;
}
Expand description
A string type which can be encoded into Java’s modified UTF-8.
Required Methods§
fn modified_uf8_len(&self) -> usize
fn to_modified_utf8<W>(
&self,
encoded_len: usize,
writer: W,
) -> Result<(), Error>where
W: Write,
Object Safety§
This trait is not object safe.