Core/DBStorage: Cleanup DBStorage reading

This commit is contained in:
hondacrx
2018-03-07 22:17:59 -05:00
parent c2ecb9fb2e
commit ed31c7b171
3 changed files with 19 additions and 55 deletions
-7
View File
@@ -352,13 +352,6 @@ namespace System
return FastStruct<T>.ArrayToStructure(result);
}
public static T Read<T>(this BinaryReader reader, int byteCount) where T : struct
{
byte[] result = reader.ReadBytes(byteCount == 0 ? FastStruct<T>.Size : byteCount);
return FastStruct<T>.ArrayToStructure(result);
}
#endregion
}
}