Method

VipsBufappend_size

Declaration [src]

gboolean
vips_buf_append_size (
  VipsBuf* buf,
  size_t n
)

Description [src]

Turn a number of bytes into a sensible string … eg “12”, “12KB”, “12MB”, “12GB” etc.

Parameters

n

Type: size_t

The number of bytes.

Return value

Type: gboolean

FALSE on overflow, TRUE otherwise.