public unsafe void UnsafeSetOutput(int index, IntPtr unmangedMemPtr, int len) { Cef3Binder.MyCefMetArgs_SetResultAsByteBuffer(this._argPtr, index, unmangedMemPtr, len); }
public void SetOutput(int index, byte[] buffer) { //output unsafe { fixed(byte *b = &buffer[0]) { Cef3Binder.MyCefMetArgs_SetResultAsByteBuffer(this._argPtr, index, new IntPtr(b), buffer.Length); } } }