mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Trim
This commit is contained in:
parent
4757c4be53
commit
d10ad138f1
14 changed files with 110 additions and 56 deletions
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Ionic.Zlib
|
||||
{
|
||||
|
|
@ -170,6 +171,7 @@ namespace Ionic.Zlib
|
|||
|
||||
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
|
||||
private void finish()
|
||||
{
|
||||
if (_z == null) return;
|
||||
|
|
@ -299,6 +301,7 @@ namespace Ionic.Zlib
|
|||
}
|
||||
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
|
||||
public override void Close()
|
||||
{
|
||||
if (_stream == null) return;
|
||||
|
|
@ -413,7 +416,7 @@ namespace Ionic.Zlib
|
|||
}
|
||||
|
||||
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
|
||||
public override System.Int32 Read(System.Byte[] buffer, System.Int32 offset, System.Int32 count)
|
||||
{
|
||||
// According to MS documentation, any implementation of the IO.Stream.Read function must:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue