Tag: structs

  • Structs in JavaScript

    Sharing structs between JavaScript and native code

    Structuring Data Using Structs 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…

    Mathius Buus
    Node.js | 24th September 2018
  • Top