Ok, I see now. Then the code will fail if someone gives you a bad NBT with DataLength set to, say, 5