simplifying the implementation of: EncodeFixed32, EncodeFiexed64, EncodeVarint32

let me know if any problem