The endianness is hard-coded to read in little-endian only if the file extension is .mcstructure.
Therefore I suggest that a configurable option can be added to override this value to support Bedrock Edition.
(This change will not affect developers of the java version)
The Java version and the Bedrock version have different endianness when parse NBT format, and the Bedrock version is little-endian in the disk, but I noticed that in https://github.com/misode/vscode-nbt/blob/5cac73104c2453aa885acb1c819c4f07e3702ba1/src/NbtDocument.ts#LL41C14-L41C14
The endianness is hard-coded to read in little-endian only if the file extension is
.mcstructure
. Therefore I suggest that a configurable option can be added to override this value to support Bedrock Edition. (This change will not affect developers of the java version)