Table of Contents

Constructor MemoryBlock

Namespace
PaintDotNet
Assembly
PaintDotNet.Core.dll

MemoryBlock(long)

Creates a new MemoryBlock instance and allocates the requested number of bytes.

public MemoryBlock(long bytes)

Parameters

bytes long

MemoryBlock(MemoryBlock, long, long)

Creates a new MemoryBlock instance that refers to part of another MemoryBlock. The other MemoryBlock is the parent, and this new instance is the child.

public MemoryBlock(MemoryBlock parentBlock, long offset, long length)

Parameters

parentBlock MemoryBlock
offset long
length long