File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
Provider/src/FirebirdSql.Data.FirebirdClient/Client/Managed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -434,20 +434,17 @@ public short ReadInt16()
434434
435435 public int ReadInt32 ( )
436436 {
437- Array . Clear ( _smallBuffer , 0 , 4 ) ;
438437 ReadBytes ( _smallBuffer , 4 ) ;
439438 return IPAddress . HostToNetworkOrder ( BitConverter . ToInt32 ( _smallBuffer , 0 ) ) ;
440439 }
441440 public async Task < int > ReadInt32Async ( )
442441 {
443- Array . Clear ( _smallBuffer , 0 , 4 ) ;
444442 await ReadBytesAsync ( _smallBuffer , 4 ) . ConfigureAwait ( false ) ;
445443 return IPAddress . HostToNetworkOrder ( BitConverter . ToInt32 ( _smallBuffer , 0 ) ) ;
446444 }
447445
448446 public long ReadInt64 ( )
449447 {
450- Array . Clear ( _smallBuffer , 0 , 8 ) ;
451448 ReadBytes ( _smallBuffer , 8 ) ;
452449 return IPAddress . HostToNetworkOrder ( BitConverter . ToInt64 ( _smallBuffer , 0 ) ) ;
453450 }
You can’t perform that action at this time.
0 commit comments