diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-12 22:16:12 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-12 22:16:12 +1000 |
commit | 40223a5090bf8a502094927da39fc96a5cfd5eae (patch) | |
tree | 01fc797ad3f45879d132de3063fe1cab3f554835 /source/core/StarDataStream.cpp | |
parent | cf09616b1b241635dae0648c544b4e8ff3e2bd72 (diff) |
Initial work
Diffstat (limited to 'source/core/StarDataStream.cpp')
-rw-r--r-- | source/core/StarDataStream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/core/StarDataStream.cpp b/source/core/StarDataStream.cpp index c8d50a4..834f4de 100644 --- a/source/core/StarDataStream.cpp +++ b/source/core/StarDataStream.cpp @@ -205,7 +205,7 @@ size_t DataStream::readVlqU(uint64_t& i) { size_t bytesRead = Star::readVlqU(i, makeFunctionInputIterator([this]() { return this->read<uint8_t>(); })); if (bytesRead == NPos) - throw DataStreamException("Error reading VLQ encoded intenger!"); + throw DataStreamException("Error reading VLQ encoded integer!"); return bytesRead; } @@ -214,7 +214,7 @@ size_t DataStream::readVlqI(int64_t& i) { size_t bytesRead = Star::readVlqI(i, makeFunctionInputIterator([this]() { return this->read<uint8_t>(); })); if (bytesRead == NPos) - throw DataStreamException("Error reading VLQ encoded intenger!"); + throw DataStreamException("Error reading VLQ encoded integer!"); return bytesRead; } |