lib/chs.js
function( buffer, offset ) {

    if( !Buffer.isBuffer( buffer ) )
      throw new TypeError( 'Value must be a buffer' )

    offset = offset || 0

    return this.fromNumber( buffer.readUIntLE( offset, 3 ) )

  }
function( buffer, offset ) {

    if( !Buffer.isBuffer( buffer ) )
      throw new TypeError( 'Value must be a buffer' )

    offset = offset || 0

    return this.fromNumber( buffer.readUIntLE( offset, 3 ) )

  }
function ( buffer , offset ) { if ( ! Buffer . isBuffer ( buffer ) ) throw new TypeError ( 'Value must be a buffer' ) offset = offset || 0 return this . fromNumber ( buffer . readUIntLE ( offset , 3 ) ) }
Parse a given Buffer
@param {Buffer} buffer
@param {Number} [offset=0]
@return {CHS}
Parse a given Buffer