Table of Contents

Struct PdfByteRange

Namespace
PdfEngine.Vector.Parsing
Assembly
PdfEngine.Vector.dll

A range of bytes of a file: from Start (inclusive) to End (exclusive).

public readonly record struct PdfByteRange : IEquatable<PdfByteRange>
Implements
Inherited Members

Constructors

PdfByteRange(long, long)

A range of bytes of a file: from Start (inclusive) to End (exclusive).

public PdfByteRange(long Start, long End)

Parameters

Start long
End long

Properties

End

public long End { get; init; }

Property Value

long

IsEmpty

True when the range has no bytes.

public bool IsEmpty { get; }

Property Value

bool

Length

The number of bytes in the range.

public long Length { get; }

Property Value

long

Start

public long Start { get; init; }

Property Value

long

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.