message: add long arr
diff: @@ -196,6 +196,18 @@ export namespace NBT {
  buf.writeInt(v.length)
  for (let i = 0; i < v.length; i++) buf.writeInt(v[i])
  }
  + },
  + { //long array
  + read(buf) {
  + let len = buf.readInt();
  + let arr: Long[] = new Array(len);
  + for (let i = 0; i < len; i++) arr[i] = buf.readLong();
  + return val(Type.LongArray, arr);
  + },
  + write(buf, v) {
  + buf.writeInt(v.length)
  + for (let i = 0; i < v.length; i++) buf.writeInt64(v[i])
  + }
  }
  ];
  