| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- //******************************************************************************
- // RCF - Remote Call Framework
- //
- // Copyright (c) 2005 - 2020, Delta V Software. All rights reserved.
- // http://www.deltavsoft.com
- //
- // RCF is distributed under dual licenses - closed source or GPL.
- // Consult your particular license for conditions of use.
- //
- // If you have not purchased a commercial license, you are using RCF
- // under GPL terms.
- //
- // Version: 3.2
- // Contact: support <at> deltavsoft.com
- //
- //******************************************************************************
- #ifndef INCLUDE_SF_ONATIVEBINARYSTREAM_HPP
- #define INCLUDE_SF_ONATIVEBINARYSTREAM_HPP
- #include <SF/Stream.hpp>
- namespace SF {
- class ONativeBinaryStream : public OStream
- {
- public:
- ONativeBinaryStream(RCF::MemOstream &os) : OStream(os)
- {}
- ONativeBinaryStream(std::ostream &os) : OStream(os)
- {}
- I_Encoding &getEncoding()
- {
- return mEncoding;
- }
- private:
- EncodingBinaryNative mEncoding;
- };
- }
- #endif // ! INCLUDE_SF_ONATIVEBINARYSTREAM_HPP
|