How to use the capnp-ts.Uint16List function in capnp-ts

To help you get started, we’ve selected a few capnp-ts examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jfrux / workbench / lib / capnp / car.capnp.js View on Github external
  CarState.prototype.initErrorsDEPRECATED = function (length) { return capnp_ts_1.Struct.initList(0, capnp.Uint16List, length, this); };
  CarState.prototype.setErrorsDEPRECATED = function (value) { capnp_ts_1.Struct.copyFrom(value, capnp_ts_1.Struct.getPointer(0, this)); };