git_buf_set

Set buffer to a copy of some raw data.

@param buffer The buffer to set @param data The data to copy into the buffer @param datalen The length of the data to copy into the buffer @return 0 on success, -1 on allocation failure

extern (C) nothrow @nogc
int
git_buf_set
(,
const(void)* data
,
size_t datalen
)

Meta