(b []byte, v float64)
| 198 | } |
| 199 | |
| 200 | func (BinaryEncoder) EncodeDouble(b []byte, v float64) []byte { |
| 201 | return AppendFixed64(b, math.Float64bits(v)) |
| 202 | } |
| 203 | |
| 204 | func (BinaryEncoder) EncodeString(b []byte, v string) []byte { |
| 205 | return append(AppendVarint(b, uint64(len(v))), v...) |