private TagStringWriter writeByteArray(final ByteArrayBinaryTag tag) throws IOException {
    if (this.legacy) {
      throw new IOException("Legacy Mojangson only supports integer arrays!");
    }
    this.beginArray(Tokens.TYPE_BYTE);

    final char byteArrayType = Character.toUpperCase(Tokens.TYPE_BYTE); // special case to match vanilla format
    final byte[] value = ByteArrayBinaryTagImpl.value(tag);
    for (int i = 0, length = value.length; i < length; i++) {
      this.printAndResetSeparator(true);
      this.value(Byte.toString(value[i]), byteArrayType);
    }
    this.endArray();
    return this;
  }
Whether a {@link Tokens#VALUE_SEPARATOR} needs to be printed before the beginning of the next object.
nbt/src/main/java/net/kyori/adventure/nbt/TagStringWriter.java