ddc ~master (2022-05-11T07:34:37.0755476)
Dub
Repo
OutBuffer.setsize
dmd
root
outbuffer
OutBuffer
Shrink the size of the data to
size
.
struct
OutBuffer
extern (
C
++) pure nothrow @
nogc
@
safe
void
setsize
(
size_t
size
)
Parameters
size
size_t
new size of data, must be <=
.length
Meta
Source
See Implementation
dmd
root
outbuffer
OutBuffer
destructors
~this
functions
allocate
bracket
destroy
extractChars
extractData
extractSlice
fill0
insert
length
opIndex
opSlice
peekChars
prependbyte
prependstring
print
printf
remove
reserve
reset
setsize
spread
vprintf
write
write4
writeByte
writeUTF16
writeUTF8
writenl
writestring
writestringln
writewchar
writeword
variables
doindent
level
spaces
Shrink the size of the data to size.