Method

VipsBufappendns

Declaration [src]

gboolean
vips_buf_appendns (
  VipsBuf* buf,
  const char* str,
  int sz
)

Description [src]

Append at most sz chars from str to buf. sz < 0 means unlimited. This is the low-level append operation: functions like vips_buf_appendf() build on top of this.

Parameters

str const char*
 

The string to append to the buffer.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
sz int
 

The size of the string to append.

Return value

Returns: gboolean
 

FALSE on overflow, TRUE otherwise.