Fix code resize to use word size rather than byte size
This commit is contained in:
parent
451b1bba26
commit
f902cc2a2b
3 changed files with 16 additions and 10 deletions
|
@ -48,9 +48,11 @@ public:
|
|||
|
||||
void SetCachedSize(size_t size_bytes);
|
||||
|
||||
[[nodiscard]] size_t CachedSize() const noexcept;
|
||||
[[nodiscard]] size_t CachedSizeWords() const noexcept;
|
||||
|
||||
[[nodiscard]] size_t ReadSize() const noexcept;
|
||||
[[nodiscard]] size_t CachedSizeBytes() const noexcept;
|
||||
|
||||
[[nodiscard]] size_t ReadSizeBytes() const noexcept;
|
||||
|
||||
[[nodiscard]] bool CanBeSerialized() const noexcept;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue