Boost C++ Libraries Home Libraries People FAQ More

PrevUpHome

Function padded_write

boost::asn1::padded_write —

Synopsis

uint32_t padded_write(ostream & strm, const string & str);

Description

Helper function to pad '0' to the numbers that are smaller than 10.

Parameters:
str

String to write to stream

strm

Stream to write to

Returns:

Bytes written

Copyright © 2007 Andreas Haberstroh

PrevUpHome