Skip to main content

parse_nbt_path_argument

Function parse_nbt_path_argument 

Source
pub fn parse_nbt_path_argument(
    input: &str,
) -> Result<(NbtPath, usize), NbtPathError>
Expand description

Parses one NBT path and returns the byte cursor consumed by it.

ยงErrors

Returns an error when the input does not start with a valid NBT path.