The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
StringExp.setData
dmd
expression
StringExp
Set new string data.
this
becomes the new owner of the data.
class
StringExp
extern (
D
)
void
setData
(
void
*
s
,
size_t
len
,
ubyte
sz
)
dmd
expression
StringExp
functions
borrowData
compare
getCodeUnit
numberOfCodeUnits
peekData
setCodeUnit
setData
toStringz
toUTF8
writeTo
Suggestion Box / Bug Report
Set new string data. this becomes the new owner of the data.