git_odb_stream_write

Write to an odb stream

This method will fail if the total number of received bytes exceeds the size declared with git_odb_open_wstream()

extern (C) nothrow @nogc
int
git_odb_stream_write

Parameters

stream libgit2_d.types.git_odb_stream*

the stream

buffer const(char)*

the data to write

len size_t

the buffer's length

Return Value

Type: int

0 if the write succeeded; error code otherwise

Meta