mirror of
https://github.com/openharmony/utils_native.git
synced 2026-07-21 01:25:42 -04:00
ipc:add new interface of MessageParcelAppend
Signed-off-by: liubb_0516 <liubeibei8@huawei.com>
This commit is contained in:
@@ -298,6 +298,10 @@ public:
|
||||
bool ReadUint8Unaligned(uint8_t &value);
|
||||
bool ReadUint16Unaligned(uint16_t &value);
|
||||
|
||||
bool EnsureObjectsCapacity();
|
||||
|
||||
bool WriteParcelableOffset(size_t offset);
|
||||
|
||||
private:
|
||||
DISALLOW_COPY_AND_MOVE(Parcel);
|
||||
template <typename T>
|
||||
@@ -328,10 +332,6 @@ private:
|
||||
|
||||
bool EnsureWritableCapacity(size_t desireCapacity);
|
||||
|
||||
bool EnsureObjectsCapacity();
|
||||
|
||||
bool WriteParcelableOffset(size_t offset);
|
||||
|
||||
private:
|
||||
uint8_t *data_;
|
||||
size_t readCursor_;
|
||||
|
||||
Reference in New Issue
Block a user