silk/toml_text
Profiles: aarch64-apple-darwin, aarch64-unknown-linux-gnu, aarch64-unknown-linux-gnu-no-libc, wasm32-unknown-unknown, x86_64-unknown-linux-gnu, x86_64-unknown-linux-gnu-no-libc.
Decoding scanner-validated TOML string tokens into owned UTF-8 text.
Import as TomlText with import silk.toml_text { TomlText }.
Public declarations: 1.
TomlText
pub struct TomlTextOperations on validated TOML string spellings.
Associated function TomlText.copy
pub effect<'life0> fn copy<'life0>(raw: &'life0 [u8]) -> Bytes ! OutOfMemoryError ? &mut AllocatorCopies validated bytes into owned storage.
Associated function TomlText.decode
pub effect<'life0> fn decode<'life0>(raw: &'life0 [u8], literal: bool, multiline: bool) -> Bytes ! OutOfMemoryError ? &mut AllocatorDecodes a complete quoted token, including multiline trimming and escapes.