Encodes and attempts to write a nil value into the given write. According to the MessagePack specification, a nil value is represented as a single `0xc0` byte. # Errors This function will return `FixedValueWriteError` on any I/O error occurred while writing the nil marker.
(wr: &mut W)
| 154 | /// This function will return `FixedValueWriteError` on any I/O error occurred while writing the nil |
| 155 | /// marker. |
| 156 | pub fn write_nil<W>(wr: &mut W) -> Result<(), FixedValueWriteError> |
| 157 | where W: Write |
| 158 | { |
| 159 | write_fixval(wr, Marker::Null) |
| 160 | } |
| 161 | |
| 162 | /// Encodes and attempts to write a bool value into the given write. |
| 163 | /// |