Skip to content

Commit

Permalink
mark GetUnadjustedFrameLength as virtual (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdeli authored and nayato committed Oct 15, 2019
1 parent d65154c commit 5bfd679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DotNetty.Codecs/LengthFieldBasedFrameDecoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ protected virtual object Decode(IChannelHandlerContext context, IByteBuffer inpu
/// <param name="length">The length of the framelenght field. Expected: 1, 2, 3, 4, or 8.</param>
/// <param name="order">The preferred <see cref="ByteOrder" /> of buffer.</param>
/// <returns>A long integer that represents the unadjusted length of the next frame.</returns>
protected long GetUnadjustedFrameLength(IByteBuffer buffer, int offset, int length, ByteOrder order)
protected virtual long GetUnadjustedFrameLength(IByteBuffer buffer, int offset, int length, ByteOrder order)
{
long frameLength;
switch (length)
Expand Down

0 comments on commit 5bfd679

Please sign in to comment.