greetings overflowers,
i love flexibility of memory mapped files in can read/write value type.
there way same byte arrays without having copy them e.g. memory map buffers ?
regards
you can use bitconverter
class convert between base data types , byte arrays.
you can read values directly array:
int value = bitconverter.toint32(data, pos);
to write data convert byte array, , copy data:
bitconverter.getbytes(value).copyto(data, pos);
Comments
Post a Comment