Gazebo_simulation-Frontend/node_modules/str2buf/dist/str2buf.umd.js

3 lines
539 B
JavaScript
Raw Normal View History

2020-12-21 11:29:31 -04:00
!function(n,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r(n.str2buf={})}(this,function(n){function r(n){for(var r="",t=0,e=n.length;t<e;t++)r+=String.fromCharCode(n[t]);return r}function t(n){for(var r=new Uint8Array(n.length),t=0,e=n.length;t<e;t++)r[t]=n.charCodeAt(t);return r}n.fromUint8Array=r,n.toUint8Array=t,n.fromBuffer=function(n){return r(new Uint8Array(n))},n.toBuffer=function(n){return t(n).buffer}});
//# sourceMappingURL=str2buf.umd.js.map