Fix code resize to use word size rather than byte size

This commit is contained in:
Kelebek1 2023-05-02 23:52:21 +01:00
parent 451b1bba26
commit f902cc2a2b
3 changed files with 16 additions and 10 deletions

View file

@ -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;