static DateTimeOffset BytesToDateTimeOffset(byte[] buffer, int idx) { return(UnixStart.AddMilliseconds(BytesToInt64(buffer, 0))); }
private DateRangeBound ReadDateRangeBound(byte[] buffer, int offset) { var millis = EndianBitConverter.ToInt64(false, buffer, offset); return(new DateRangeBound(UnixStart.AddMilliseconds(millis), (DateRangePrecision)buffer[offset + 8])); }
internal static DateTimeOffset Deserialize(byte[] buffer, int offset) { return(UnixStart.AddMilliseconds(BeConverter.ToInt64(buffer, offset))); }