summaryrefslogtreecommitdiff
path: root/Runtime/Common/DataBuffer.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-11-01 16:53:51 +0800
committerchai <chaifix@163.com>2021-11-01 16:53:51 +0800
commitb7310c9cce95bfc9bfe135063ee0e97fbc654928 (patch)
tree459d37f0acd9b9dd6719b71d1ecc8620dc1f5fef /Runtime/Common/DataBuffer.h
parent4dead522e513ffd326101b790b2129595f72ff42 (diff)
*misc
Diffstat (limited to 'Runtime/Common/DataBuffer.h')
-rw-r--r--Runtime/Common/DataBuffer.h6
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;