C# Class HidSharp.Platform.MacOS.MacHidStream

Inheritance: HidStream
Afficher le fichier Open project: arvydas/BlinkStickDotNet Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode 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 méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetFeature() public méthode

public GetFeature ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

SetFeature() public méthode

public SetFeature ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void