Chanjung Kim
02/15/2024, 9:39 PMCPointer<ByteVar>
already have the extension operator functions get
and `set`: you can just use it like an normal array.
val ptr: CPointer<ByteVar> = ...
val byte = ptr[someInteger]
ptr[anotherInteger] = 5.toByte()