| 151 | } // namespace |
| 152 | |
| 153 | void FURLabMsgpackUtil::PackJsonObject(const TSharedPtr<FJsonObject>& Object, TArray<uint8>& OutBuf) |
| 154 | { |
| 155 | OutBuf.Reset(); |
| 156 | clmdep_msgpack::sbuffer SBuf; |
| 157 | clmdep_msgpack::packer<clmdep_msgpack::sbuffer> Packer(SBuf); |
| 158 | PackJsonObjectInner(Packer, Object); |
| 159 | OutBuf.Append(reinterpret_cast<const uint8*>(SBuf.data()), (int32)SBuf.size()); |
| 160 | } |
| 161 | |
| 162 | void FURLabMsgpackUtil::SetBinaryField(TSharedPtr<FJsonObject>& Obj, const FString& Field, |
| 163 | const uint8* Data, int32 Size) |
nothing calls this directly
no test coverage detected