Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 562 Bytes

i.9.3-unmanaged-code.md

File metadata and controls

3 lines (2 loc) · 562 Bytes

I.9.3 Unmanaged code

It is possible to pass data from CLI managed code to unmanaged code. This always involves a transition from managed to unmanaged code, which has some runtime cost, but data can often be transferred without copying. When data must be reformatted the VES provides a reasonable specification of default behavior, but it is possible to use metadata to explicitly require other forms of marshalling (i.e., reformatted copying). The metadata also allows access to unmanaged methods through implementation-specific pre-existing mechanisms.