Skip to content

Commit

Permalink
Update By.Get.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
alec1o committed May 6, 2024
1 parent 36e68ea commit 399c60c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/by/By.Get.cs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public T Get<T>()
case Types.Enum:
{
if (!IsValidPrefix(type, sizeof(int))) return default;

value = (T)(object)BitConverter.ToInt32(Buffer, GetIndex());

AddIndex(sizeof(int));
Expand Down

0 comments on commit 399c60c

Please sign in to comment.