diff --git a/src/by/By.Get.cs b/src/by/By.Get.cs index e65dd94..3f2c95e 100644 --- a/src/by/By.Get.cs +++ b/src/by/By.Get.cs @@ -233,7 +233,7 @@ public T Get() case Types.Enum: { if (!IsValidPrefix(type, sizeof(int))) return default; - + value = (T)(object)BitConverter.ToInt32(Buffer, GetIndex()); AddIndex(sizeof(int));