Buffer.opSlice

Exposes owned data as an array slice

  1. inout(T[]) opSlice(size_t begin, size_t end)
    struct Buffer(T)
    inout
    inout(T[])
    opSlice
    (
    size_t begin
    ,
    size_t end
    )
  2. inout(T[]) opSlice()

Parameters

begin size_t

start index, inclusive

end size_t

end index, exclusive

Return Value

Type: inout(T[])

requested slice fo stored data

Meta