# OneNoteFileNodeChunkReference

A decoded variable-width chunk reference stored in a file node.

Class 

`OfficeIMO.OneNote`

**Namespace**

`OfficeIMO.OneNote`

**Assembly**

`OfficeIMO.OneNote`

**Source revision**

`105ae88c45f6` with working tree changes

**Source**

[OneNoteFileNode.cs:123](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.OneNote/Reading/OneNoteFileNode.cs#L123)

**Modifiers**

sealed

A decoded variable-width chunk reference stored in a file node.

## Inheritance

- object
- OneNoteFileNodeChunkReference

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [OneNoteFileNode.ChunkReference](/api/onenote/officeimo-onenote-onenotefilenode/#property-chunkreference)

Filter members 

Show inherited

## Methods

`public override string ToString()` [#](#method-tostring)

[OneNoteFileNode.cs:123](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.OneNote/Reading/OneNoteFileNode.cs#L123)

Returns a string that represents the current object.

Returns

`string` A string that represents the current object.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

## Properties

`public ulong Offset { get; }` [#](#property-offset)

[OneNoteFileNode.cs:108](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.OneNote/Reading/OneNoteFileNode.cs#L108)

Referenced offset from the start of the revision-store file.

`public ulong Length { get; }` [#](#property-length)

[OneNoteFileNode.cs:111](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.OneNote/Reading/OneNoteFileNode.cs#L111)

Referenced byte count.

`public bool IsNil { get; }` [#](#property-isnil)

[OneNoteFileNode.cs:114](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.OneNote/Reading/OneNoteFileNode.cs#L114)

Whether the encoded reference is the format's nil sentinel.

`public int EncodedLength { get; }` [#](#property-encodedlength)

[OneNoteFileNode.cs:117](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.OneNote/Reading/OneNoteFileNode.cs#L117)

Number of bytes occupied by the variable-width encoded reference.

`public bool IsZero { get; }` [#](#property-iszero)

[OneNoteFileNode.cs:120](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.OneNote/Reading/OneNoteFileNode.cs#L120)

Whether both decoded fields are zero.

<!-- PowerForge markdown artifact sha256:AA67CF0C4D2FCB02064BF1058E105F9A8E3EDE707AEE7842AEC055AE8DC3F380 -->
