Kode / Kha

Ultra-portable, high performance, open source multimedia framework.
http://kha.tech
zlib License
1.49k stars 174 forks source link

Add Uint8array #1247

Closed MoritzBrueckner closed 4 years ago

MoritzBrueckner commented 4 years ago

Requires https://github.com/Kode/khacpp/pull/11

On the HL target I've used unsigned char instead of uint8_t just like the other array types use short etc. Is there a reason for that? The byte sizes in the current implementations don't seem to be guaranteed because of that.

I could not test it on Android and Flash but it closely follows the current implementations of the other array types.

RobDangerous commented 4 years ago

In hxcpp you mean. No reason, we should change that.