ae ~master (2024-01-05T13:09:51Z)
Home
Dub
Repo
TData.opSlice
ae
sys
data
TData
Returns a
Data
pointing at a slice of this
Data
's contents.
TData
opSlice
()
TData
opSlice
(size_t x, size_t y)
struct
TData
(T)
TData
opSlice
(
size_t
x
,
size_t
y
)
out (result) { assert (result.length == y - x); }
if
(
!
hasIndirections
!
T
)
Meta
Source
See Implementation
ae
sys
data
TData
aliases
opDollar
constructors
this
destructors
~this
functions
asDataOf
castTo
clear
deleteContents
ensureUnique
enter
front
indexOf
opAssign
opCast
opIndex
opIndexAssign
opSlice
popFront
toGC
toHeap
postblits
this(this)
properties
capacity
contents
dup
empty
length
mcontents
mptr
ptr
unsafeContents
static functions
wrapGC
templates
opBinary
opBinaryRight
opOpAssign
Returns a Data pointing at a slice of this Data's contents.