Function strict_encoding::test_helpers::print_to_file[][src]

pub fn print_to_file<T: StrictEncode + StrictDecode>(
    object: &T
) -> Result<usize, Box<dyn Error>>

Helper function to print encoded bytes to a file Used for large objects that doesn’t fit in console output