Sharing Structs Between JavaScript and Native Code

Published: 25/09/2018
Sharing Structs Between JavaScript and Native Code
Source: DZONE.COM

When writing native modules in C/C++, it is often useful to structure data using something called structs. A struct is a low-level data schema you can use in C/C++. They basically act as an encoding/decoding scheme, similar to protocol-buffers and many others data encoding schemes, to read/write the properties specified in the struct declaration. #include <stdio.h> #include <stdint.h>

Read more
Related news
Comment
FACEBOOK