git_buf_is_binary

Check quickly if buffer looks like it contains binary data

extern (C) nothrow @nogc
int
git_buf_is_binary
(
const(.git_buf)* buf
)

Parameters

buf const(.git_buf)*

Buffer to check

Return Value

Type: int

1 if buffer looks like non-text data

Meta