Rewriting encodeFishByte()