public static @NotNull Writer writer() {
    return BinaryTagWriterImpl.INSTANCE;
  }
Returns {@link Writer}, used to write binary tags.

@return binary tag writer
@since 4.4.0
nbt/src/main/java/net/kyori/adventure/nbt/BinaryTagIO.java