The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
MemoryFile.initFromExistingSlice
gamut
io
MemoryFile
Initialize buffer as reading a slice. Must be a T.init object.
struct
MemoryFile
nothrow @
nogc
@
safe
@
system
void
initFromExistingSlice
(
const
(
ubyte
)[]
arr
)
Meta
Source
See Implementation
gamut
io
MemoryFile
functions
initEmpty
initFromExistingSlice
releaseData
variables
bytes
capacity
data
offset
owned
readOnly
Initialize buffer as reading a slice. Must be a T.init object.