diff options
author | chai <chaifix@163.com> | 2021-11-01 16:53:51 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-11-01 16:53:51 +0800 |
commit | b7310c9cce95bfc9bfe135063ee0e97fbc654928 (patch) | |
tree | 459d37f0acd9b9dd6719b71d1ecc8620dc1f5fef /Runtime/Common/DataBuffer.h | |
parent | 4dead522e513ffd326101b790b2129595f72ff42 (diff) |
*misc
Diffstat (limited to 'Runtime/Common/DataBuffer.h')
-rw-r--r-- | Runtime/Common/DataBuffer.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Runtime/Common/DataBuffer.h b/Runtime/Common/DataBuffer.h index 7b89ab5..dbe7c30 100644 --- a/Runtime/Common/DataBuffer.h +++ b/Runtime/Common/DataBuffer.h @@ -23,7 +23,11 @@ public: delete data; } - char* data; + union { + char* data; + unsigned char* udata; + char* sdata; + }; int length; EDataBufferType type; |