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

Inheritance: IDisposable
Mostra 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_oe property

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

CreatedWhen public_oe property

public long CreatedWhen
return long

Offset public_oe property

public long Offset
return long

Pointer public_oe property

public byte* Pointer
return byte*

PointerOffset public_oe property

public long PointerOffset
return long

Size public_oe property

public uint Size
return uint

View public_oe property

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