index.js
function readAppInfo(buf) {
  // First byte varies across installs, only the 2nd and 3rd seem consistent
  if (buf.readUInt8(1) != 0x44 || buf.readUInt8(2) != 0x56)
    throw new Error('Invalid file signature')

  return readAppEntries(buf.slice(8))
}
function readAppInfo(buf) {
  // First byte varies across installs, only the 2nd and 3rd seem consistent
  if (buf.readUInt8(1) != 0x44 || buf.readUInt8(2) != 0x56)
    throw new Error('Invalid file signature')

  return readAppEntries(buf.slice(8))
}
function readAppInfo ( buf ) { // First byte varies across installs, only the 2nd and 3rd seem consistent if ( buf . readUInt8 ( 1 ) != 0x44 || buf . readUInt8 ( 2 ) != 0x56 ) throw new Error ( 'Invalid file signature' ) return readAppEntries ( buf . slice ( 8 ) ) }
Read header and app entries from binary VDF Buffer
Read header and app entries from binary VDF Buffer