6 Feb
2017
6 Feb
'17
7:17 p.m.
On Mon, Feb 6, 2017 at 12:06 PM, Bjorn Reese
On 02/06/2017 06:03 PM, Robert Dailey wrote:
using ByteVector = std::vectorstd::uint8_t;
I meant, can BinaryInputStream read data from an array, and can BinaryOutputStream write data into an array?
If by array you mean: std::uint8_t bytes[100]; Not in my current implementation. I do not use arrays in my code, so I haven't needed to support it. But my stream classes use iterators and algorithms for writing/reading data, so shouldn't be hard to add. What, if I may ask, are you trying to get at?