コード例 #1
0
 public override byte[] GetByteArrayAtIndex(int index)
 {
     return(MarshalHelpers.GetByteArray((IntPtr buffer, IntPtr bufferLength, out bool isNull, out NativeException ex) =>
                                        NativeMethods.get_binary(this, (IntPtr)index, buffer, bufferLength, out isNull, out ex)));
 }
コード例 #2
0
ファイル: ObjectHandle.cs プロジェクト: vitors/realm-dotnet
 public byte[] GetByteArray(IntPtr propertyIndex)
 {
     return(MarshalHelpers.GetByteArray((IntPtr buffer, IntPtr bufferLength, out bool isNull, out NativeException ex) =>
                                        NativeMethods.get_binary(this, propertyIndex, buffer, bufferLength, out isNull, out ex)));
 }