Skip to content

Commit

Permalink
Buffers.
Browse files Browse the repository at this point in the history
  • Loading branch information
StormHub committed Mar 15, 2018
1 parent 45ff24b commit a5f9336
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/DotNetty.Buffers/AbstractByteBuffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ public virtual IByteBuffer EnsureWritable(int minWritableBytes)
return this;
}

[MethodImpl(MethodImplOptions.AggressiveInlining)]
protected internal void EnsureWritable0(int minWritableBytes)
{
this.EnsureAccessible();
Expand Down Expand Up @@ -1372,6 +1373,7 @@ protected void CheckNewCapacity(int newCapacity)
}
}

[MethodImpl(MethodImplOptions.AggressiveInlining)]
void CheckReadableBytes0(int minimumReadableBytes)
{
this.EnsureAccessible();
Expand Down
1 change: 0 additions & 1 deletion src/DotNetty.Buffers/AbstractByteBufferAllocator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ static void Validate(int initialCapacity, int maxCapacity)

public abstract bool IsDirectBufferPooled { get; }

[MethodImpl(MethodImplOptions.AggressiveInlining)]
public int CalculateNewCapacity(int minNewCapacity, int maxCapacity)
{
if (minNewCapacity < 0)
Expand Down

0 comments on commit a5f9336

Please sign in to comment.