go
StringG.truncate
glib
StringG
StringG
Cuts off the end of the GString, leaving the first
len
bytes.
class
StringG
StringG
truncate
(
size_t
len
)
Parameters
len
size_t
the new size of
string
Return Value
Type:
StringG
string
glib
StringG
StringG
constructors
this
functions
append
appendC
appendLen
appendUnichar
appendUriEscaped
appendVprintf
asciiDown
asciiUp
assign
down
equal
erase
free
freeToBytes
getStringGStruct
getStruct
hash
insert
insertC
insertLen
insertUnichar
overwrite
overwriteLen
prepend
prependC
prependLen
prependUnichar
setSize
truncate
up
vprintf
static functions
stringNew
stringNewLen
stringSizedNew
variables
gString
Cuts off the end of the GString, leaving the first len bytes.