externs.js
333 Bytes
/**
* @constructor
*/
var Buffer;
/**
* @param {!ArrayBuffer} raw
* @param {number} byteOffset
* @param {number} byteLength
* @return {!Buffer}
*/
Buffer.from = function(raw, byteOffset, byteLength) {};
/**
* @this {*}
* @param {string} encoding
* @return {string}
*/
Buffer.prototype.toString = function(encoding) {};