Code coverage report for fontkit/src/tables/meta.coffee

Statements: 100% (3 / 3)      Branches: 100% (0 / 0)      Functions: 100% (0 / 0)      Lines: 100% (3 / 3)      Ignored: none     

All files » fontkit/src/tables/ » meta.coffee
1 2 3 4 5 6 7 8 9 10 11 12 13 14 151   1           1            
r = require 'restructure'
 
DataMap = new r.Struct
  tag: new r.String(4)
  dataOffset: r.uint32
  dataLength: r.uint32
  # data: new r.Pointer('dataOffset', new r.Buffer('dataLength'))
 
module.exports = new r.Struct
  version: r.uint32
  flags: r.uint32
  dataOffset: r.uint32
  numDataMaps: r.uint32
  maps: new r.Array(DataMap, 'numDataMaps')