13GX_CORE_NAMESPACE_BEGIN()
33 ERROR_READ_FAILED = -4,
34 ERROR_RESERVE_FAILED = -5
76 b32 readS16(s16& dst);
78 b32 readU16(u16& dst);
80 b32 readS32(s32& dst);
82 b32 readU32(u32& dst);
84 b32 readS64(s64& dst);
86 b32 readU64(u64& dst);
88 b32 readS128(s128& dst);
90 b32 readU128(u128& dst);
94 b32 readF32(f32& dst);
96 b32 readF64(f64& dst);
98 void* readBlock(
void* pDst, u32 size);
100 void* readPlane(
void* pDst, u32 size);
105 void* exportS8(
void);
107 void* exportU8(
void);
109 void* exportS16(
void);
111 void* exportU16(
void);
113 void* exportS32(
void);
115 void* exportU32(
void);
117 void* exportS64(
void);
119 void* exportU64(
void);
121 void* exportB32(
void);
123 void* exportF32(
void);
125 void* exportF64(
void);
135 virtual b32 read(
void* pDst, u32 size);
168GX_CORE_NAMESPACE_END()
GX_ENDIAN
エンディアン定義
Definition GxDefine.h:220
ALIGNMENT
メモリアライメント定義
Definition GxMemory.h:51
@ _4
4byteアライメント
Definition GxMemory.h:52
メモリストリームクラス
Definition GxStream.h:248
ストリーム基礎クラス
Definition GxStream.h:20
ストリーム読み込みクラス
Definition GxStreamReader.h:19
GX_FORCE_INLINE u32 getCurrentPosition(void) const
現在ストリーム位置取得
Definition GxStreamReader.h:146
constexpr void setExportStream(GxMemoryStream *pExport)
エクスポートストリーム設定
Definition GxStreamReader.h:103
GX_ENDIAN _endian
ストリーム内エンディアン定義
Definition GxStreamReader.h:163
GxStream * _pStream
読み込みストリーム
Definition GxStreamReader.h:160
RESULT
処理結果定義
Definition GxStreamReader.h:27
GxMemoryStream * _pExport
エクスポート用ストリーム
Definition GxStreamReader.h:161
GxStreamReader(GxStream &stream, GX_ENDIAN endian=GX_ENDIAN::NATIVE, GxMemoryStream *pExport=nullptr)
コンストラクタ
Definition GxStreamReader.h:50
constexpr RESULT getResult(void) const
詳細結果取得
Definition GxStreamReader.h:148
constexpr void setEndian(GX_ENDIAN endian)
エンディアン指定
Definition GxStreamReader.h:150
virtual ~GxStreamReader(void)
デストラクタ
Definition GxStreamReader.h:57
constexpr GX_ENDIAN getEndian(void) const
エンディアン取得
Definition GxStreamReader.h:152
RESULT _result
処理結果
Definition GxStreamReader.h:162
constexpr GxStream * getStream(void) const
ストリーム取得
Definition GxStreamReader.h:144
GxStreamReader(void)
ディフォルトコンストラクタ (※使用禁止)
Definition GxStreamReader.h:47
32bitブーリアン
Definition GxDefine.h:173