Struct GribByteRange
- Namespace
- EncDotNet.S100.Collections.Weather
- Assembly
- EncDotNet.S100.Collections.dll
An inclusive byte range of a GRIB2 file; Last is null to read to the end.
public readonly record struct GribByteRange : IEquatable<GribByteRange>
- Implements
- Inherited Members
Constructors
GribByteRange(long, long?)
An inclusive byte range of a GRIB2 file; Last is null to read to the end.
public GribByteRange(long First, long? Last)
Parameters
Properties
First
The first byte.
public long First { get; init; }
Property Value
HeaderValue
The Range header value: bytes=100-199 or bytes=100-.
public string HeaderValue { get; }
Property Value
Last
The last byte, or null for the rest of the file.
public long? Last { get; init; }
Property Value
- long?