Classes | Namespaces | Functions
Streams.hpp File Reference

(2)

Utilities for streams. More...

#include <Balau/Type/StdTypes.hpp>
#include <iostream>
#include <sstream>
Include dependency graph for Streams.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Streams
 Utilities for streams. More...
 

Namespaces

 Balau::Util
 Utility functions.
 

Functions

template<typename AllocatorT >
Balau::U8String< AllocatorT > toString (std::istream &inputStream)
 Read all the text into a UTF-8 string from the supplied UTF-8 input stream. More...
 
template<typename AllocatorT >
Balau::U32String< AllocatorT > toString32 (std::u32istream &inputStream)
 Read all the text into a UTF-32 string from the supplied UTF-32 input stream. More...
 

Detailed Description

Utilities for streams.

Function Documentation

◆ toString()

std::string toString ( std::istream &  inputStream)
inline

Read all the text into a UTF-8 string from the supplied UTF-8 input stream.

◆ toString32()

std::u32string toString32 ( std::u32istream &  inputStream)
inline

Read all the text into a UTF-32 string from the supplied UTF-32 input stream.