sk_memorystream_new_with_length() private method

private sk_memorystream_new_with_length ( IntPtr length ) : IntPtr
length IntPtr
return System.IntPtr
Ejemplo n.º 1
0
 public SKMemoryStream(ulong length)
     : this(SkiaApi.sk_memorystream_new_with_length((IntPtr)length), true)
 {
     if (Handle == IntPtr.Zero)
     {
         throw new InvalidOperationException("Unable to create a new SKMemoryStream instance.");
     }
 }
Ejemplo n.º 2
0
 public SKMemoryStream(ulong length)
     : this(SkiaApi.sk_memorystream_new_with_length((IntPtr)length))
 {
 }