C# Class Squared.Data.Mangler.Internal.ViewCache.CacheEntry

Inheritance: IDisposable
Show file Open project: sq/DataMangler Class Usage Examples

Public Properties

Property Type Description
Buffer System.Runtime.InteropServices.SafeBuffer
CreatedWhen long
Offset long
Pointer byte*
PointerOffset long
Size uint
View System.IO.MemoryMappedFiles.MemoryMappedViewAccessor

Public Methods

Method Description
AddRef ( ) : bool
CacheEntry ( MemoryMappedViewAccessor view, long offset, uint size ) : System
RemoveRef ( ) : void

Private Methods

Method Description
IDisposable ( ) : void
Release ( ) : void

Method Details

AddRef() public method

public AddRef ( ) : bool
return bool

CacheEntry() public method

public CacheEntry ( MemoryMappedViewAccessor view, long offset, uint size ) : System
view System.IO.MemoryMappedFiles.MemoryMappedViewAccessor
offset long
size uint
return System

RemoveRef() public method

public RemoveRef ( ) : void
return void

Property Details

Buffer public property

public SafeBuffer,System.Runtime.InteropServices Buffer
return System.Runtime.InteropServices.SafeBuffer

CreatedWhen public property

public long CreatedWhen
return long

Offset public property

public long Offset
return long

Pointer public property

public byte* Pointer
return byte*

PointerOffset public property

public long PointerOffset
return long

Size public property

public uint Size
return uint

View public property

public MemoryMappedViewAccessor,System.IO.MemoryMappedFiles View
return System.IO.MemoryMappedFiles.MemoryMappedViewAccessor