function getHeader (data) {
  var header = {}
  header.umid = data.slice(0, 3)
  header.mt_version = data.slice(3, 5)
  header.rics = data.slice(5, 9)
  header.key_id = data.slice(9, 14)
  return header
}
function getHeader (data) {
  var header = {}
  header.umid = data.slice(0, 3)
  header.mt_version = data.slice(3, 5)
  header.rics = data.slice(5, 9)
  header.key_id = data.slice(9, 14)
  return header
}
function getHeader ( data ) { var header = { } header . umid = data . slice ( 0 , 3 ) header . mt_version = data . slice ( 3 , 5 ) header . rics = data . slice ( 5 , 9 ) header . key_id = data . slice ( 9 , 14 ) return header }
Get raw data and uncompress the TicketData
Get raw data and uncompress the TicketData