Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

readme.md 497B

123456789101112131415161718192021
  1. buffer-shims
  2. ===
  3. functions to make sure the new buffer methods work in older browsers.
  4. ```js
  5. var bufferShim = require('buffer-shims');
  6. bufferShim.from('foo');
  7. bufferShim.alloc(9, 'cafeface', 'hex');
  8. bufferShim.allocUnsafe(15);
  9. bufferShim.allocUnsafeSlow(21);
  10. ```
  11. should just use the original in newer nodes and on older nodes uses fallbacks.
  12. Known Issues
  13. ===
  14. - this does not patch the buffer object, only the constructor stuff
  15. - it's actually a polyfill
  16. ![](https://i.imgur.com/zxII3jJ.gif)