GLib.StringBuilder – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
StringBuilder
data
StringBuilder
StringBuilder.sized
append
append_c
append_len
append_printf
append_unichar
append_vprintf
assign
erase
insert
insert_unichar
prepend
prepend_c
prepend_len
prepend_unichar
printf
truncate
vprintf
allocated_len
len
str
StringBuilder
Object Hierarchy:
Description:
[
Compact
]
public
class
StringBuilder
Namespace:
GLib
Package:
glib-2.0
Content:
Properties:
public
uint8
[]
data
{
get
; }
Creation methods:
public
StringBuilder
(
string
init =
""
)
public
StringBuilder.sized
(
size_t
dfl_size)
Methods:
public
unowned
StringBuilder
assign
(
string
rval)
public
unowned
StringBuilder
append
(
string
val)
public
unowned
StringBuilder
append_c
(
char
c)
public
unowned
StringBuilder
append_unichar
(
unichar
wc)
public
unowned
StringBuilder
append_len
(
string
val,
ssize_t
len)
public
unowned
StringBuilder
prepend
(
string
val)
public
unowned
StringBuilder
prepend_c
(
char
c)
public
unowned
StringBuilder
prepend_unichar
(
unichar
wc)
public
unowned
StringBuilder
prepend_len
(
string
val,
ssize_t
len)
public
unowned
StringBuilder
insert
(
ssize_t
pos,
string
val)
public
unowned
StringBuilder
insert_unichar
(
ssize_t
pos,
unichar
wc)
public
unowned
StringBuilder
erase
(
ssize_t
pos =
0
,
ssize_t
len = -
1
)
public
unowned
StringBuilder
truncate
(
size_t
len =
0
)
public
void
printf
(
string
format, ...)
public
void
append_printf
(
string
format, ...)
public
void
vprintf
(
string
format,
va_list
args)
public
void
append_vprintf
(
string
format,
va_list
args)
Fields:
public
string
str
public
ssize_t
len
public
ssize_t
allocated_len