lib/id.js
function (buf) {
    if (!(buf instanceof Buffer) || buf.length !== Id.SIZE)
        throw new Error('invalid buffer');
    this._buf = buf;
}
function (buf) {
    if (!(buf instanceof Buffer) || buf.length !== Id.SIZE)
        throw new Error('invalid buffer');
    this._buf = buf;
}
function ( buf ) { if ( ! ( buf instanceof Buffer ) || buf . length !== Id . SIZE ) throw new Error ( 'invalid buffer' ) ; this . _buf = buf ; }
Create an id from a `buffer`.
Create an id from a buffer .