//nbt-manipulator/br.com.gamemods.nbtmanipulator/NbtIO/readNbtFile
readNbtFile
[jvm]\
fun readNbtFile(inputStream: InputStream, compressed: Boolean = true, littleEndian: Boolean = false, readHeaders: Boolean = false): NbtFile
Read a NbtFile from the InputStream.
Parameters
jvm
| inputStream | The input stream that will be read | 
| compressed | If the file needs to be decompressed by GZIPInputStream | 
| littleEndian | Reads the NBT file using little endian byte order | 
| readHeaders | Reads the NBT version and length headers before the content These data are read in little endian byte order regardless of the littleEndian parameter. | 
[jvm]\
fun readNbtFile(file: File, compressed: Boolean = true, littleEndian: Boolean = false, readHeaders: Boolean = false): NbtFile
Parameters
jvm
| file | The input file that will be read | 
| compressed | If the file needs to be decompressed by GZIPInputStream | 
| littleEndian | |
| readHeaders |