Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
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.

buffer.js 276B

123456789101112
  1. 'use strict'
  2. /* eslint-disable node/no-deprecated-api */
  3. module.exports = function (size) {
  4. if (typeof Buffer.allocUnsafe === 'function') {
  5. try {
  6. return Buffer.allocUnsafe(size)
  7. } catch (e) {
  8. return new Buffer(size)
  9. }
  10. }
  11. return new Buffer(size)
  12. }