C# Class HidSharp.Platform.MacOS.MacHidStream

Inheritance: HidStream
Mostra file Open project: arvydas/BlinkStickDotNet Class Usage Examples

Public Methods

Method Description
GetFeature ( byte buffer, int offset, int count ) : void
Read ( byte buffer, int offset, int count ) : int
SetFeature ( byte buffer, int offset, int count ) : void
Write ( byte buffer, int offset, int count ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
HandleFree ( ) : void
Init ( NativeMethods path, MacHidDevice device ) : void
MacHidStream ( ) : System
ReadThread ( ) : void
ReadThreadCallback ( IntPtr context, NativeMethods result, IntPtr sender, NativeMethods type, uint reportID, IntPtr report, IntPtr reportLength ) : void
ReadThreadEnqueue ( Queue queue, byte report ) : void
WriteThread ( ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetFeature() public method

public GetFeature ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

SetFeature() public method

public SetFeature ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void