Example #1
0
 public static unsafe void GetUnsignedByte(this ExtMemoryObject thisApi, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] uint index, [Count(Computed = "target"), Flow(FlowDirection.Out)] Span <byte> data)
 {
     // SpanOverloader
     thisApi.GetUnsignedByte(target, index, out data.GetPinnableReference());
 }
Example #2
0
 public static unsafe void GetUnsignedByte(this ExtMemoryObject thisApi, [Flow(FlowDirection.In)] GetPName pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <byte> data)
 {
     // SpanOverloader
     thisApi.GetUnsignedByte(pname, out data.GetPinnableReference());
 }