//nbt-manipulator/br.com.gamemods.nbtmanipulator/NbtIO/writeNbtFileAsOriginal
writeNbtFileAsOriginal
[jvm]\
fun writeNbtFileAsOriginal(outputStream: OutputStream, file: NbtFile)
Calls writeNbtFile using the information stored in the NbtFile, uses the method’s default when the information is missing (null). This method does not write the Bedrock Edition version and length headers.
Parameters
jvm
outputStream | The stream that the file will be written |
file | The file that will be written to the stream |