src/utils/staticwriter.js
function StaticWriter(size) {
  if (!(this instanceof StaticWriter))
    return new StaticWriter(size);

  this.data = size ? Buffer.allocUnsafe(size) : EMPTY;
  this.offset = 0;
}
function StaticWriter(size) {
  if (!(this instanceof StaticWriter))
    return new StaticWriter(size);

  this.data = size ? Buffer.allocUnsafe(size) : EMPTY;
  this.offset = 0;
}
function StaticWriter ( size ) { if ( ! ( this instanceof StaticWriter ) ) return new StaticWriter ( size ) ; this . data = size ? Buffer . allocUnsafe ( size ) : EMPTY ; this . offset = 0 ; }
Statically allocated buffer writer.
@alias module:utils.StaticWriter
@constructor
@param {Number} size
Statically allocated buffer writer .