Thomas Lonneman

Results 3 issues of Thomas Lonneman

Lets jump right into some of the problems and things I dislike about Sponge's DataView system, then look at some solutions. ## Major Problems with DataView * set() allows any...

status: input wanted
system: data

https://github.com/flow/nbt/blob/7a1b6d986e6fbd01862356d47827b8b357349a22/src/main/java/com/flowpowered/nbt/stream/EndianSwitchableInputStream.java#L100-L122 As you can see, readInt() and readLong() take care of the endian ness, but readFloat() and readDouble() also try to take care of flipping the bytes around! This causes...