default long@NotNull[] getLongArray(final @Range(from = 0, to = Integer.MAX_VALUE) int index) {
    final BinaryTag tag = this.get(index);
    if (tag.type() == BinaryTagTypes.LONG_ARRAY) {
      return ((LongArrayBinaryTag) tag).value();
    }
    return new long[0];
  }
Gets an array of longs.

@param index the index
@return the array of longs, or a zero-length array
@since 4.0.0
nbt/src/main/java/net/kyori/adventure/nbt/ListBinaryTag.java