]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - apps/tidep0084.git/blob - example/iot-gateway/node_modules/bytebuffer/src/methods/static/type.js
Updated to use the latest TI 15.4-Stack v2.1.0 from the SimpleLink CC13x0 SDK v1.30.
[apps/tidep0084.git] / example / iot-gateway / node_modules / bytebuffer / src / methods / static / type.js
1 /**
2  * Gets the backing buffer type.
3  * @returns {Function} `Buffer` under node.js, `ArrayBuffer` in the browser (classes)
4  * @expose
5  */
6 ByteBuffer.type = function() {
7     //? if (NODE)
8     return Buffer;
9     //? else
10     return ArrayBuffer;
11 };