AppendBuffer.opSliceAssign

Copies chunk to the content, setting the content length to chunk.length.

  1. T[] opSliceAssign(ParamT element)
  2. T[] opSliceAssign(ParamT element, size_t start, size_t end)
    class AppendBuffer(T, Base : AppendBufferImpl)
    static if(!is(T == void))
    T[]
    opSliceAssign
    (,
    size_t start
    ,
    size_t end
    )
  3. T[] opSliceAssign(ParamT[] chunk)
  4. T[] opSliceAssign(ParamT[] chunk, size_t start, size_t end)

Parameters

element ParamT

chunk to copy to the content

start size_t

start of the slice

end size_t

end of the slice

Return Value

Type: T[]

slice to chunk in the content

Meta