[−][src]Function nine::ser::into_write_seeker
pub fn into_write_seeker<T: Serialize, W: Write + Seek>(
t: &T,
writer: W
) -> Result<u32, SerError>
Serializes the given item into the given type that implements write and seek.
This is typically a file or a buffer (io::Cursor<Vec<u8>>
).
Returns the number of bytes written.