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
byteslong
MemoryBlock(long, MemoryBlockAllocFlags)
public MemoryBlock(long bytes, MemoryBlockAllocFlags flags)
Parameters
byteslongflagsMemoryBlockAllocFlags
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
parentBlockMemoryBlockoffsetlonglengthlong