Function borsh::to_writer[][src]

pub fn to_writer<T: ?Sized, W: Write>(writer: W, value: &T) -> Result<()> where
    T: BorshSerialize
Expand description

Serializes an object directly into a Writer.