Change instanceof Buffer to Buffer.isBuffer for browserify compatibility
Change Buffer get to readUInt8