Exemple #1
0
 public JasixNode(IExtendedBinaryReader reader)
 {
     _start = reader.ReadOptInt32();
     //on disk we will store the end as an offset to save space
     _end         = _start + reader.ReadOptInt32();
     FileLocation = reader.ReadOptInt64();
 }
Exemple #2
0
        private static Interval <long> ReadInterval(IExtendedBinaryReader reader)
        {
            var begin    = reader.ReadOptInt32();
            var end      = reader.ReadOptInt32();
            var position = reader.ReadOptInt64();

            return(new Interval <long>(begin, end, position));
        }