WriteFloat32 writes a float32 to the writer
(f float32)
| 367 | |
| 368 | // WriteFloat32 writes a float32 to the writer |
| 369 | func (mw *Writer) WriteFloat32(f float32) error { |
| 370 | return mw.prefix32(mfloat32, math.Float32bits(f)) |
| 371 | } |
| 372 | |
| 373 | // WriteDuration writes a time.Duration to the writer |
| 374 | func (mw *Writer) WriteDuration(d time.Duration) error { |