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
cPtr
down
equal
erase
freeAndSteal
freeToBytes
hash
insert
insertC
insertLen
insertUnichar
overwrite
overwriteLen
prepend
prependC
prependLen
prependUnichar
replace
self
setSize
truncate
up
properties
allocatedLen
gType
len
str
static functions
getGType
newLen
newTake
sizedNew
Cuts off the end of the GString, leaving the first len bytes.