bufferedIn

Copies the content of source into target and returns the *filled* part of target. This is the counterpart of std.algorithm.mutation.copy.

Preconditions: target shall have enough room to accommodate the entirety of source.

TargetRange
bufferedIn
(
SourceRange
TargetRange
)
(
SourceRange source
,
TargetRange target
)
if (
isInputRange!SourceRange &&
isOutputRange!(TargetRange, ElementType!SourceRange)
&&
hasSlicing!TargetRange
&&
hasLength!TargetRange
)

Parameters

source SourceRange

an input range

target TargetRange

an output range with slicing and length

Return Value

Type: TargetRange

The filled part of target

Meta