Пример #1
0
 virtual void flush() {
    static const char pad = PaddingChar;
    while( bytes_out % BlockSize )
       writesome(&pad, 1);
    buffered_ostream::flush();
 }
Пример #2
0
size_t stcp_socket::writesome( const std::shared_ptr<const char>& buf, size_t len, size_t offset )
{
  return writesome(buf.get() + offset, len);
}
Пример #3
0
 size_t buffered_ostream::writesome( const std::shared_ptr<const char>& buf, size_t len, size_t offset )
 {
   return writesome(buf.get() + offset, len);
 }