Lines Matching refs:TLVObject
22 TLVObject::TLVObject(std::vector<std::uint8_t> &buffer)
30 void TLVObject::SetFile(std::FILE *file)
46 void TLVObject::UpdateSize()
54 std::vector<std::uint8_t> TLVObject::GetBuffer()
59 size_t TLVObject::GetTotal()
64 size_t TLVObject::GetCursor()
69 size_t TLVObject::OffsetHead()
81 void TLVObject::ResetCursor()
91 size_t TLVObject::Count(const std::string &value)
98 size_t TLVObject::Count(const std::vector<uint8_t> &value)
105 size_t TLVObject::Count(const OHOS::AAFwk::Want &value)
117 size_t TLVObject::Count(const std::monostate &value)
124 size_t TLVObject::Count(const void *value)
131 bool TLVObject::Write(TAG tag, const std::string &value)
153 bool TLVObject::Read(std::string &value, const TLVHead &head)
169 bool TLVObject::Write(TAG tag, const std::vector<uint8_t> &value)
190 bool TLVObject::Read(std::vector<uint8_t> &value, const TLVHead &head)
207 bool TLVObject::Write(TAG tag, const OHOS::AAFwk::Want &value)
235 bool TLVObject::Read(OHOS::AAFwk::Want &value, const TLVHead &head)
265 bool TLVObject::Write(TAG tag, const std::monostate &value)
270 bool TLVObject::Read(std::monostate &value, const TLVHead &head)
275 bool TLVObject::Write(TAG tag, const void *value)
281 bool TLVObject::Read(void *value, const TLVHead &head)
287 size_t TLVObject::CountHead()
293 bool TLVObject::WriteHead(uint16_t tag, uint32_t len)
307 bool TLVObject::WriteBackHead(uint16_t tag, size_t tagCursor, uint32_t len)
319 bool TLVObject::ReadHead(TLVHead &head)
345 bool TLVObject::Skip(TLVHead &head)
359 bool TLVObject::HasExpectBuffer(const uint32_t expectLen) const
371 void TLVObject::PrepareBufferForFile(size_t size)
379 std::uint8_t *TLVObject::GetStartCursor()
388 bool TLVObject::SaveBufferToFile()
401 bool TLVObject::SaveBufferToFileFront(size_t tagCursor, uint32_t len)
426 bool TLVObject::LoadBufferFormFile(size_t size)