Show / Hide Table of Contents

Interface IHybCustomMarshaler

custom marshaler

Namespace: Hybridizer.Runtime.CUDAImports
Assembly: Hybridizer.Runtime.CUDAImports.dll
Syntax
[Guid("9E018A3A-4C04-4276-B072-D48981C31A12")]
public interface IHybCustomMarshaler

Methods

MarshalTo(Object, BinaryWriter, AbstractNativeMarshaler)

marshal to native

Declaration
void MarshalTo(object value, BinaryWriter bw, AbstractNativeMarshaler marshaler)
Parameters
Type Name Description
System.Object value
System.IO.BinaryWriter bw
AbstractNativeMarshaler marshaler

SizeOf(Object)

provides size

Declaration
long SizeOf(object customMarshalled)
Parameters
Type Name Description
System.Object customMarshalled
Returns
Type Description
System.Int64

UnmarshalFrom(Object, BinaryReader, AbstractNativeMarshaler)

UnMarshal from native

Declaration
void UnmarshalFrom(object value, BinaryReader br, AbstractNativeMarshaler marshaler)
Parameters
Type Name Description
System.Object value
System.IO.BinaryReader br
AbstractNativeMarshaler marshaler
Back to top Generated by DocFX