ocean ~master (2021-10-22T21:44:26.740458)
Dub
Repo
File.set
ocean
io
device
File
File
Convenience function to set file content and length to reflect the given array.
class
File
static
void
set
(
cstring
path
,
const
(
void
)[]
content
)
Meta
Source
See Implementation
ocean
io
device
File
File
aliases
read
write
classes
IOException
constructors
this
enums
Access
Cache
Open
Share
functions
error
length
open
path
position
seek
setFileHandle
style
sync
toString
truncate
static functions
append
get
set
static variables
O_CLOEXEC
ReadExisting
ReadShared
ReadWriteAppending
ReadWriteCreate
ReadWriteExisting
ReadWriteOpen
WriteAppending
WriteCreate
WriteExisting
structs
Style
Convenience function to set file content and length to reflect the given array.