TInputRangeTransport.readAll

Shortcut version of readAll() for slicable ranges.

Because readAll() is typically a very hot path during deserialization, using this over TBaseTransport.readAll() gives us a nice increase in speed due to the reduced amount of indirections.

class TInputRangeTransport(R)
override
void
readAll
(
ubyte[] buf
)
if (
isInputRange!(Unqual!R) &&
is(ElementType!R : const(ubyte))
)

Meta