C# Class HidSharp.Platform.Utf8Marshaler

Inheritance: ICustomMarshaler
Mostra file Open project: arvydas/BlinkStickDotNet

Public Methods

Method Description
CleanUpManagedData ( object obj ) : void
CleanUpNativeData ( IntPtr ptr ) : void
GetInstance ( string cookie ) : ICustomMarshaler
GetNativeDataSize ( ) : int
MarshalManagedToNative ( object obj ) : IntPtr
MarshalNativeToManaged ( IntPtr ptr ) : object

Method Details

CleanUpManagedData() public method

public CleanUpManagedData ( object obj ) : void
obj object
return void

CleanUpNativeData() public method

public CleanUpNativeData ( IntPtr ptr ) : void
ptr System.IntPtr
return void

GetInstance() public static method

public static GetInstance ( string cookie ) : ICustomMarshaler
cookie string
return ICustomMarshaler

GetNativeDataSize() public method

public GetNativeDataSize ( ) : int
return int

MarshalManagedToNative() public method

public MarshalManagedToNative ( object obj ) : IntPtr
obj object
return System.IntPtr

MarshalNativeToManaged() public method

public MarshalNativeToManaged ( IntPtr ptr ) : object
ptr System.IntPtr
return object