1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 1 1 1 1 1 | r = require 'restructure' shortFrac = new r.Fixed 16, 'BE', 14 Correspondence = new r.Struct fromCoord: shortFrac toCoord: shortFrac Segment = new r.Struct pairCount: r.uint16 correspondence: new r.Array Correspondence, 'pairCount' module.exports = new r.Struct version: r.fixed32 axisCount: r.uint32 segment: new r.Array Segment, 'axisCount' |