lost+found/src/base.js
function _gpfNodeBuffer2JsArray (buffer) {
    var result = [],
        len = buffer.length,
        idx;
    for (idx = 0; idx < len; ++idx) {
        result.push(buffer.readUInt8(idx));
    }
    return result;
}
function _gpfNodeBuffer2JsArray (buffer) {
    var result = [],
        len = buffer.length,
        idx;
    for (idx = 0; idx < len; ++idx) {
        result.push(buffer.readUInt8(idx));
    }
    return result;
}
function _gpfNodeBuffer2JsArray ( buffer ) { var result = [ ] , len = buffer . length , idx ; for ( idx = 0 ; idx < len ; ++ idx ) { result . push ( buffer . readUInt8 ( idx ) ) ; } return result ; }
region NodeJS helpers 
Converts a NodeJS buffer into a native array containing unsigned
bytes

@param {Buffer} buffer
@return {Number[]}
region NodeJS helpers Converts a NodeJS buffer into a native array containing unsigned bytes