Skip to main content

parse_snbt_compound_argument

Function parse_snbt_compound_argument 

Source
pub fn parse_snbt_compound_argument(
    input: &str,
) -> Result<(NbtCompound, usize), SnbtError>
Expand description

Parses one SNBT compound and returns the byte cursor consumed by it.

ยงErrors

Returns an error when the input does not start with a valid SNBT compound.