LeviLamina
Loading...
Searching...
No Matches
Blob.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace cg {
6
7class Blob {
8public:
9 // member variables
10 // NOLINTBEGIN
11 ::ll::TypedStorage<8, 8, ::std::unique_ptr<uchar[0]>> mBlobData;
12 ::ll::TypedStorage<8, 8, uint64> mBlobSize;
13 // NOLINTEND
14
15#ifdef LL_PLAT_S
16#else // LL_PLAT_C
17public:
18 // prevent constructor by default
19 Blob();
20
21#endif
22public:
23 // member functions
24 // NOLINTBEGIN
25#ifdef LL_PLAT_C
26 MCAPI Blob(::std::unique_ptr<uchar[0]> data, uint64 size);
27
28 MCFOLD void* getBufferPointer();
29#endif
30 // NOLINTEND
31
32public:
33 // constructor thunks
34 // NOLINTBEGIN
35#ifdef LL_PLAT_C
36 MCAPI void* $ctor(::std::unique_ptr<uchar[0]> data, uint64 size);
37#endif
38 // NOLINTEND
39};
40
41} // namespace cg