UNISTDX_NET_BSTREAM
UNISTDX_MAKE_PUT_GET_OPERATOR
using bstream = basic_bstream< char >

Alias to basic_bstream<char>.

template <class Ch, class Tr = std::char_traits<Ch>, class Size = u32>
class sys::basic_bstream

Input/output stream that reads/writes everything in binary format with network byte order.

Ch
character type

Tr
character traits type

Size
size type (defaults to 4-byte integer)

Types
  • using string_type = std::basic_string< Ch, Tr >

    String type used for input and output.

  • using streambuf_type = std::basic_streambuf< Ch, Tr >

    Stream buffer type.

  • using size_type = Size

    Size type (defaults to 4-byte integer).

  • using traits_type = Tr

    Character traits type.

  • using char_type = Ch

    Character type.

Methods