Skip to main content

vanilla_nbt_heap_size

Function vanilla_nbt_heap_size 

Source
pub fn vanilla_nbt_heap_size(tag: &NbtTag) -> Option<u64>
Expand description

Returns the heap usage charged by Vanilla’s NbtAccounter while decoding.

None indicates malformed modified UTF-8 or arithmetic overflow.