Show / Hide Table of Contents

# Class ByteRange

This class represents a Byte Range.

##### Inheritance

object
ByteRange

##### Implements

IDisposable

##### Inherited Members

object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()

###### Namespace: pdftron.Common

###### Assembly: PDFTronDotNet.dll

##### Syntax

    public class ByteRange : IDisposable

### Constructors

#### ByteRange(IntPtr)

##### Declaration

    public ByteRange(IntPtr impl_ptr)

##### Parameters

Type | Name | Description
--- | --- | ---
IntPtr | impl_ptr |

### Methods

#### Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

##### Declaration

    public void Dispose()

#### Dispose(bool)

##### Declaration

    protected virtual void Dispose(bool disposing)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | disposing |

#### ~ByteRange()

##### Declaration

    protected ~ByteRange()

#### GetEndOffset()

Retrieves the end offset of the byte range.

##### Declaration

    public long GetEndOffset()

##### Returns

Type | Description
--- | ---
long | an integer

#### GetSize()

Retrieves the size of the byte range.

##### Declaration

    public long GetSize()

##### Returns

Type | Description
--- | ---
long | an integer

#### GetStartOffset()

Retrieves the start offset of the byte range.

##### Declaration

    public long GetStartOffset()

##### Returns

Type | Description
--- | ---
long | an integer

### Implements

IDisposable