Table of Contents

Method GetColumnByteOffsetUnchecked

Namespace
PaintDotNet
Assembly
PaintDotNet.Core.dll

GetColumnByteOffsetUnchecked(int)

Gets the number of bytes from the beginning of a row to the requested column.

public long GetColumnByteOffsetUnchecked(int x)

Parameters

x int

The column.

Returns

long

The number of bytes between (0,n) and (x,n) where n is in the range [0, Height).

Remarks

This method does not do any bounds checking and is potentially unsafe to use, but faster than GetColumnByteOffset().