dmd v2.104.0 (2023-06-02T08:46:32Z)
Dub
Repo
FileMapping.resize
dmd
common
file
FileMapping
Resizes the file and mapping to the specified
size
.
struct
FileMapping
(Datum)
nothrow pure
static if
(
!is(Datum == const)
)
void
resize
(
size_t
size
)
Parameters
size
size_t
new length requested
Meta
Source
See Implementation
dmd
common
file
FileMapping
constructors
this
destructors
~this
functions
active
close
discard
length
moveToFile
opSlice
resize
Resizes the file and mapping to the specified size.