Support TAG_Byte_Array, TAG_Int_Array and TAG_Long_Array

This commit is contained in:
Tnze
2021-05-27 01:33:08 +08:00
parent 4f148c7515
commit dd1b8fd9c9
3 changed files with 54 additions and 2 deletions

View File

@ -67,6 +67,7 @@ func TestSNBT_list(t *testing.T) {
`[{}, {}, {"a\"b":520}]`, // List of Compound
`[B,C,D]`, `[L, "abc"]`, // List of string (like array)
`[B; 01B, 02B, 3B, 10B, 127B]`, // Array
`[I;]`, // Empty array
}
var s scanner
scan := func(str string) bool {