(size)
| 2796 | Buffer.__proto__ = Uint8Array |
| 2797 | |
| 2798 | function assertSize (size) { |
| 2799 | if (typeof size !== 'number') { |
| 2800 | throw new TypeError('"size" argument must be of type number') |
| 2801 | } else if (size < 0) { |
| 2802 | throw new RangeError('The value "' + size + '" is invalid for option "size"') |
| 2803 | } |
| 2804 | } |
| 2805 | |
| 2806 | function alloc (size, fill, encoding) { |
| 2807 | assertSize(size) |
no outgoing calls
no test coverage detected
searching dependent graphs…