pub fn write_f32(&mut self, val: f32) {
        let mut buf = [0; 4];
        BigEndian::write_f32(&mut buf, val);
        self.write_bytes(&buf);
    }
/// Append a 32 bits floating point number to the buffer.
///
/// #Example
///
/// ```
/// #  use databuffer::*;
/// let mut buffer = DataBuffer::new();
/// buffer.write_f32(0.1)
/// ```
Append a 32 bits floating point number to the buffer.
Append a 32 bits floating point number to the buffer .
pub fn write_f32(&mut self, val: f32) {
        let mut buf = [0; 4];
        BigEndian::write_f32(&mut buf, val);
        self.write_bytes(&buf);
    }
pub fn write_f32 ( & mut self , val : f32 ) { let mut buf = [ 0 ; 4 ] ; BigEndian :: write_f32 ( & mut buf , val ) ; self . write_bytes ( & buf ) ; }
Append a 32 bits floating point number to the buffer.
Append a 32 bits floating point number to the buffer .
&mut self
val
f32
example
None
use databuffer::*;
let mut buffer = DataBuffer::new();
buffer.write_f32(0.1)
```
let mut buffer = DataBuffer :: new () ; buffer . write_f32 ( 0 . 1 ) ` ` `