Files
FC1/CryGame/BitStream_Compressed.h
romkazvo 34d6c5d489 123
2023-08-07 19:29:24 +08:00

41 lines
1.5 KiB
C++

//////////////////////////////////////////////////////////////////////
//
// Crytek Source code
// Copyright (c) Crytek 2001-2004
//
//////////////////////////////////////////////////////////////////////
#ifndef BITSTREAM_COMPRESSED_H
#define BITSTREAM_COMPRESSED_H
#include "bitstream_base.h" // CBitStream_Base
class CBitStream_Compressed :public CBitStream_Base
{
public:
//! constructor
CBitStream_Compressed();
//! destructor
virtual ~CBitStream_Compressed();
// interface IBitSubStream -----------------------------------------------
virtual bool WriteBitStream( CStream &stm, const uint32 Value, const eBitStreamHint eHint );
virtual bool ReadBitStream( CStream &stm, uint32 &Value, const eBitStreamHint eHint );
virtual bool WriteBitStream( CStream &stm, const int32 Value, const eBitStreamHint eHint );
virtual bool ReadBitStream( CStream &stm, int32 &Value, const eBitStreamHint eHint );
virtual bool WriteBitStream( CStream &stm, const float Value, const eBitStreamHint eHint );
virtual bool ReadBitStream( CStream &stm, float &Value, const eBitStreamHint eHint );
virtual bool WriteBitStream( CStream &stm, const Vec3 &Value, const eBitStreamHint eHint );
virtual bool ReadBitStream( CStream &stm, Vec3 &Value, const eBitStreamHint eHint );
virtual bool WriteBitStream( CStream &stm, const uint16 Value, const eBitStreamHint eHint );
virtual bool ReadBitStream( CStream &stm, uint16 &Value, const eBitStreamHint eHint );
};
#endif // BITSTREAM_COMPRESSED_H