Documentation
Dlang.org
String.truncate
glib
string_
String
Cuts off the end of the GString, leaving the first len bytes.
class
String
glib.string_.String
truncate
(
size_t
len
)
Parameters
len
size_t
the new size of string
Return Value
Type:
glib
.
string_
.
String
string
glib
string_
String
constructors
this
functions
append
appendC
appendLen
appendUnichar
appendUriEscaped
asciiDown
asciiUp
assign
down
equal
erase
freeAndSteal
freeToBytes
hash
insert
insertC
insertLen
insertUnichar
overwrite
overwriteLen
prepend
prependC
prependLen
prependUnichar
replace
setSize
truncate
up
static functions
newLen
newTake
sizedNew
Cuts off the end of the GString, leaving the first len bytes.