AddFloat32 adds a float32 to be encoded, must be used inside a slice or array encoding (does not encode a key)
(v float32)
| 233 | |
| 234 | // AddFloat32 adds a float32 to be encoded, must be used inside a slice or array encoding (does not encode a key) |
| 235 | func (enc *Encoder) AddFloat32(v float32) { |
| 236 | enc.Float32(v) |
| 237 | } |
| 238 | |
| 239 | // AddFloat32OmitEmpty adds an int to be encoded and skips it if its value is 0, |
| 240 | // must be used inside a slice or array encoding (does not encode a key). |