public static extern bool c4stream_write(C4WriteStream *stream, byte[] bytes, UIntPtr length, C4Error *outError);
public static extern bool c4stream_install(C4WriteStream *stream, C4BlobKey *expectedKey, C4Error *outError);
public static extern void c4stream_closeWriter(C4WriteStream *stream);
public static bool c4stream_write(C4WriteStream *stream, byte[] bytes, ulong length, C4Error *outError) { return(NativeRaw.c4stream_write(stream, bytes, (UIntPtr)length, outError)); }
public static extern C4BlobKey c4stream_computeBlobKey(C4WriteStream *stream);
public void c4stream_closeWriter(C4WriteStream *stream) => Native.c4stream_closeWriter(stream);
public static bool c4stream_write(C4WriteStream *stream, byte[] bytes, C4Error *outError) { return(c4stream_write(stream, bytes, (ulong)bytes.Length, outError)); }
public C4BlobKey c4stream_computeBlobKey(C4WriteStream *stream) => Native.c4stream_computeBlobKey(stream);
public bool c4stream_install(C4WriteStream *stream, C4BlobKey *expectedKey, C4Error *outError) => Native.c4stream_install(stream, expectedKey, outError);
public bool c4stream_write(C4WriteStream *stream, byte[] bytes, ulong length, C4Error *outError) => Native.c4stream_write(stream, bytes, length, outError);
public bool c4stream_write(C4WriteStream *stream, byte[] bytes, UIntPtr length, C4Error *outError) => NativeRaw.c4stream_write(stream, bytes, length, outError);
public static void c4stream_closeWriter(C4WriteStream *stream) => Impl.c4stream_closeWriter(stream);
public static C4BlobKey c4stream_computeBlobKey(C4WriteStream *stream) => Impl.c4stream_computeBlobKey(stream);
public static extern bool c4stream_install(C4WriteStream *stream, C4Error *outError);