Fix warcraft.EncodeBytes() style
Refactor warcraft