Closed utdrmac closed 3 years ago
If the purpose is to create a BigEndian representation of the level, can you use this? https://play.golang.org/p/xf1nYhprdmu
func forgeInt32(value int, l int) []byte {
bigE := make([]byte, 4)
binary.BigEndian.PutUint32(bigE, uint32(value))
return bigE
}
I modified my fork to use the above and it appears to be working as expected.
Great, thanks again @utdrmac!
Fixed in V4. Thanks again!
Simplest example:
Result: