TData.opSlice

Returns a Data pointing at a slice of this Data's contents.

  1. TData opSlice()
  2. TData opSlice(size_t x, size_t y)
    struct TData(T)
    opSlice
    (
    size_t x
    ,
    size_t y
    )
    out (result) { assert (result.length == y - x); }
    if (
    !hasIndirections!T
    )

Meta