git_odb_stream_read

Read from an odb stream

Most backends don't implement streaming reads

extern (C) nothrow @nogc public
int
git_odb_stream_read

Parameters

stream libgit2.types.git_odb_stream*

the stream

buffer char*

a user-allocated buffer to store the data in.

len size_t

the buffer's length

Return Value

Type: int

0 if the read succeeded, error code otherwise

Meta