14 lines
309 B
C++
14 lines
309 B
C++
#include <base/io/Stream.hpp>
|
|
|
|
namespace dmtools::io {
|
|
|
|
StreamDiff Stream::ReadSome(std::vector<u8>& buffer) {
|
|
return ReadSome(buffer.data(), buffer.size());
|
|
}
|
|
|
|
StreamDiff Stream::WriteSome(const std::vector<u8>& buffer) {
|
|
return WriteSome(buffer.data(), buffer.size());
|
|
}
|
|
|
|
} // namespace dmtools::io
|