[ox/oc] Replace Vector<char> with Buffer
This commit is contained in:
parent
1da5e60655
commit
51ae33aed2
4
deps/ox/src/ox/oc/read.hpp
vendored
4
deps/ox/src/ox/oc/read.hpp
vendored
@ -12,12 +12,12 @@
|
|||||||
|
|
||||||
#include <ox/model/optype.hpp>
|
#include <ox/model/optype.hpp>
|
||||||
#include <ox/model/types.hpp>
|
#include <ox/model/types.hpp>
|
||||||
|
#include <ox/std/buffer.hpp>
|
||||||
#include <ox/std/byteswap.hpp>
|
#include <ox/std/byteswap.hpp>
|
||||||
#include <ox/std/hashmap.hpp>
|
#include <ox/std/hashmap.hpp>
|
||||||
#include <ox/std/memops.hpp>
|
#include <ox/std/memops.hpp>
|
||||||
#include <ox/std/memory.hpp>
|
#include <ox/std/memory.hpp>
|
||||||
#include <ox/std/string.hpp>
|
#include <ox/std/string.hpp>
|
||||||
#include <ox/std/vector.hpp>
|
|
||||||
|
|
||||||
namespace ox {
|
namespace ox {
|
||||||
|
|
||||||
@ -205,7 +205,7 @@ Result<T> readOC(const char *json) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
Result<T> readOC(const Vector<char> &buff) {
|
Result<T> readOC(const Buffer &buff) {
|
||||||
return readOC<T>(buff.data(), buff.size());
|
return readOC<T>(buff.data(), buff.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user