Skip to content

Commit

Permalink
Clarify count range
Browse files Browse the repository at this point in the history
  • Loading branch information
iamcarbon committed Feb 23, 2024
1 parent 337d235 commit 50d44e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MetadataExtractor/Formats/Apple/BplistReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static object HandleInt(ref BufferReader reader, byte marker)

static Dictionary<byte, byte> HandleDict(ref BufferReader reader, byte count)
{
Span<byte> keyRefs = stackalloc byte[count]; // <= 255
Span<byte> keyRefs = stackalloc byte[count]; // count is a byte (0-255)

reader.GetBytes(keyRefs);

Expand Down

0 comments on commit 50d44e8

Please sign in to comment.