C# Class GSF.IO.Unmanaged.BlockArguments

A set of fields that are passed to a BinaryStreamIoSessionBase.GetBlock method to get results.
Show file Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Public Properties

Property Type Description
FirstPointer System.IntPtr
FirstPosition long
IsWriting bool
Length int
Position long
SupportsWriting bool

Property Details

FirstPointer public property

the pointer for the first byte of the block
public IntPtr,System FirstPointer
return System.IntPtr

FirstPosition public property

the position that corresponds to FirstPointer
public long FirstPosition
return long

IsWriting public property

indicates if the stream plans to write to this block
public bool IsWriting
return bool

Length public property

the length of the block
public int Length
return int

Position public property

the block returned must contain this position
public long Position
return long

SupportsWriting public property

notifies the calling class if this block supports writing without requiring this function to be called again if IsWriting was set to false.
public bool SupportsWriting
return bool