public BufferOutputStream(ResizableBuffer resizableBuffer)
     : base(Create(resizableBuffer))
 {
 }
 private static IntPtr Create(ResizableBuffer buffer)
 {
     ExceptionInfo.Check(BufferOutputStream_Create_From_ResizableBuffer(buffer.Handle, out var outputStream));
     GC.KeepAlive(buffer);
     return(outputStream);
 }
Exemple #3
0
 public BufferOutputStream(ResizableBuffer resizableBuffer)
     : base(ExceptionInfo.Return <IntPtr>(resizableBuffer.Handle, BufferOutputStream_Create_From_ResizableBuffer))
 {
 }