<@U039S7ZQDFF> `CPointer<ByteVar>` already have the extension operator functions `get` and `set`: yo...
c
@Trey
CPointer<ByteVar>
already have the extension operator functions
get
and `set`: you can just use it like an normal array.
Copy code
val ptr: CPointer<ByteVar> = ...
val byte = ptr[someInteger]
ptr[anotherInteger] = 5.toByte()