(b []byte, v int32)
| 154 | } |
| 155 | |
| 156 | func (BinaryEncoder) EncodeInt32(b []byte, v int32) []byte { |
| 157 | return AppendVarint(b, uint64(v)) |
| 158 | } |
| 159 | |
| 160 | func (BinaryEncoder) EncodeSint32(b []byte, v int32) []byte { |
| 161 | return AppendVarint(b, EncodeZigZag(int64(v))) |