unsigned int BufferedTransformation::Get(byte *outString, unsigned int getMax) { if (AttachedTransformation()) return AttachedTransformation()->Get(outString, getMax); else { ArraySink arraySink(outString, getMax); return TransferTo(arraySink, getMax); } }
unsigned int BufferedTransformation::Peek(byte *outString, unsigned int peekMax) const { if (AttachedTransformation()) return AttachedTransformation()->Peek(outString, peekMax); else { ArraySink arraySink(outString, peekMax); return CopyTo(arraySink, peekMax); } }
size_t BufferedTransformation::Get(byte *outString, size_t getMax) { if (AttachedTransformation()) return AttachedTransformation()->Get(outString, getMax); else { ArraySink arraySink(outString, getMax); return (size_t)TransferTo(arraySink, getMax); } }