Ejemplo n.º 1
0
 internal InterfaceDescriptionBlock(BinaryReader reader)
     : base(reader)
 {
     this.LinkType = (LinkType)reader.ReadUInt16();
     reader.ReadUInt16(); // Reserved field.
     this.SnapLength = reader.ReadInt32();
     this.ReadOptions(reader);
     this.ReadClosingField(reader);
     this.timestampTransformer = null;
 }
Ejemplo n.º 2
0
 internal InterfaceDescriptionBlock(BinaryReader reader)
     : base(reader)
 {
     this.LinkType = (LinkType)reader.ReadUInt16();
     reader.ReadUInt16(); // Reserved field.
     this.SnapLength = reader.ReadInt32();
     this.TryReadOptions(reader);
     this.ReadClosingField(reader);
     this.timestampTransformer = null;
 }
Ejemplo n.º 3
0
 internal TimestampTransformer GetTimestampTransformer()
 {
     return this.timestampTransformer ?? (this.timestampTransformer = new TimestampTransformer(this.TimestampResolution));
 }
Ejemplo n.º 4
0
 internal TimestampTransformer GetTimestampTransformer()
 {
     return(this.timestampTransformer ?? (this.timestampTransformer = new TimestampTransformer(this.TimestampResolution)));
 }