From 8c53dd1bd4fb2fea5c8ffc76570789868b078278 Mon Sep 17 00:00:00 2001 From: Drew Noakes Date: Sun, 4 Feb 2024 23:07:11 +1100 Subject: [PATCH] Add update missed from previous commit --- MetadataExtractor/IO/BufferReader.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MetadataExtractor/IO/BufferReader.cs b/MetadataExtractor/IO/BufferReader.cs index 0c237b67f..d5143003d 100644 --- a/MetadataExtractor/IO/BufferReader.cs +++ b/MetadataExtractor/IO/BufferReader.cs @@ -114,8 +114,7 @@ public long GetInt64() public ulong GetUInt64() { - var bytes = _bytes.Slice(_position, 8); - Advance(8); + var bytes = Advance(8); return _isBigEndian ? BinaryPrimitives.ReadUInt64BigEndian(bytes)