Table of Contents

Method GetRowByteOffsetUnchecked

Namespace
PaintDotNet
Assembly
PaintDotNet.Core.dll

GetRowByteOffsetUnchecked(int)

Gets the offset, in bytes, of the requested row from the start of the surface.

public long GetRowByteOffsetUnchecked(int y)

Parameters

y int

The row.

Returns

long

The number of bytes between (0,0) and (0,y)

Remarks

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