#include "streamdef.h"
Go to the source code of this file.
|
template<class _Ty , class _Ch , class _Tr > |
basic_binostream< _Ch, _Tr > & | operator<< (basic_binostream< _Ch, _Tr > &o, const _Ty t) |
|
template<class _Ty , class _Ch , class _Tr > |
basic_binistream< _Ch, _Tr > & | operator>> (basic_binistream< _Ch, _Tr > &i, _Ty &t) |
|
◆ binistream
◆ binostream
◆ binstreambuf
◆ operator<<()
template<class _Ty , class _Ch , class _Tr >
Definition at line 1 of file binarystream.h.
130 {
131 int sz = sizeof(_Ty);
132 o.write ((
const _Ch*)(&
t), sz);
133 return o;
134}
◆ operator>>()
template<class _Ty , class _Ch , class _Tr >
Definition at line 137 of file binarystream.h.
137 {
138 int sz = sizeof(_Ty);
139 i.read ((_Ch*)(&
t),sz);
140 return i;
141}