index.js
function readAppEntry(buf) {
  let off = 0

  const id = buf.readUInt32LE(off)

  off += 49 // Skip a bunch of fields we don't care about

  const [name, nameSize] = readStr(buf.slice(off))

  off += nameSize

  const [entries, entriesSize] = readEntries(buf.slice(off))

  off += entriesSize

  return [{id, name, entries}, off]
}
function readAppEntry(buf) {
  let off = 0

  const id = buf.readUInt32LE(off)

  off += 49 // Skip a bunch of fields we don't care about

  const [name, nameSize] = readStr(buf.slice(off))

  off += nameSize

  const [entries, entriesSize] = readEntries(buf.slice(off))

  off += entriesSize

  return [{id, name, entries}, off]
}
function readAppEntry ( buf ) { let off = 0 const id = buf . readUInt32LE ( off ) off += 49 // Skip a bunch of fields we don't care about const [ name , nameSize ] = readStr ( buf . slice ( off ) ) off += nameSize const [ entries , entriesSize ] = readEntries ( buf . slice ( off ) ) off += entriesSize return [ { id , name , entries } , off ] }
Read a single app entry, returning its id, name and key-value entries
Read a single app entry returning its id name and key - value entries