gbuffer_totalbytes()#
gbuffer_totalbytes() returns the total number of bytes written in the given gbuffer_t instance.
Prototype
size_t gbuffer_totalbytes(gbuffer_t *gbuf);
Parameters
Key |
Type |
Description |
|---|---|---|
|
|
Pointer to the |
Return Value
Returns the total number of bytes written in the gbuffer_t instance.
Notes
This function does not modify the gbuffer_t instance; it only retrieves the current write position.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples