Use better code
This commit is contained in:
parent
608e7a99bc
commit
75c8a8ced4
32 changed files with 77 additions and 105 deletions
|
|
@ -293,7 +293,7 @@ namespace MaxMind
|
|||
throw new IOException("Cannot seek GeoIP database");
|
||||
|
||||
_geodata.Seek(6*offset, SeekOrigin.Begin);
|
||||
_geodata.Read(buffer, 0, 6);
|
||||
_geodata.ReadExactly(buffer, 0, 6);
|
||||
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue