diff options
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/compactbinary.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/zencore/include/zencore/compactbinary.h b/zencore/include/zencore/compactbinary.h index 537f33d31..500502398 100644 --- a/zencore/include/zencore/compactbinary.h +++ b/zencore/include/zencore/compactbinary.h @@ -29,6 +29,7 @@ class CbObjectView; class CbArrayView; class BinaryReader; class BinaryWriter; +class CompressedBuffer; class DateTime { @@ -1280,17 +1281,10 @@ CbField::AsArray() && */ ZENCORE_API CbField LoadCompactBinary(BinaryReader& Ar, BufferAllocator Allocator); -inline CbObject -LoadCompactBinaryObject(IoBuffer&& Payload) -{ - return CbObject{SharedBuffer(std::move(Payload))}; -} - -inline CbObject -LoadCompactBinaryObject(IoBuffer& Payload) -{ - return CbObject{SharedBuffer(Payload)}; -} +ZENCORE_API CbObject LoadCompactBinaryObject(IoBuffer&& Payload); +ZENCORE_API CbObject LoadCompactBinaryObject(IoBuffer& Payload); +ZENCORE_API CbObject LoadCompactBinaryObject(CompressedBuffer& Payload); +ZENCORE_API CbObject LoadCompactBinaryObject(CompressedBuffer&& Payload); /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |