public static ulong c4stream_read(C4ReadStream *stream, byte[] buffer, int count, C4Error *outError)
 {
     return(NativeRaw.c4stream_read(stream, buffer, (UIntPtr)count, outError).ToUInt64());
 }
 public static extern void c4stream_close(C4ReadStream *stream);
 public static extern UIntPtr c4stream_read(C4ReadStream *stream, [Out] byte[] buffer, UIntPtr maxBytesToRead, C4Error *outError);
 public static extern long c4stream_getLength(C4ReadStream *stream, C4Error *outError);
 public static extern bool c4stream_seek(C4ReadStream *stream, ulong position, C4Error *outError);
 public void c4stream_close(C4ReadStream *stream) => Native.c4stream_close(stream);
 public static ulong c4stream_read(C4ReadStream *stream, byte[] buffer, C4Error *outError)
 {
     return(c4stream_read(stream, buffer, buffer.Length, outError));
 }
 public long c4stream_getLength(C4ReadStream *stream, C4Error *outError) => Native.c4stream_getLength(stream, outError);
 public bool c4stream_seek(C4ReadStream *stream, ulong position, C4Error *outError) => Native.c4stream_seek(stream, position, outError);
 public ulong c4stream_read(C4ReadStream *stream, byte[] buffer, int count, C4Error *outError) => Native.c4stream_read(stream, buffer, count, outError);
 public UIntPtr c4stream_read(C4ReadStream *stream, byte[] buffer, UIntPtr maxBytesToRead, C4Error *outError) => NativeRaw.c4stream_read(stream, buffer, maxBytesToRead, outError);
 public static void c4stream_close(C4ReadStream *stream) => Impl.c4stream_close(stream);
 public static long c4stream_getLength(C4ReadStream *stream, C4Error *outError) => Impl.c4stream_getLength(stream, outError);
示例#14
0
 public static long c4stream_read(C4ReadStream *stream, byte[] buffer, C4Error *outError)
 {
     return(NativeRaw.c4stream_read(stream, buffer, (UIntPtr)buffer.Length, outError).ToInt64());
 }