summaryrefslogtreecommitdiff
path: root/dotnet/Qpid.Common/Framing/AMQDataBlockEncoder.cs
diff options
context:
space:
mode:
Diffstat (limited to 'dotnet/Qpid.Common/Framing/AMQDataBlockEncoder.cs')
-rw-r--r--dotnet/Qpid.Common/Framing/AMQDataBlockEncoder.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/dotnet/Qpid.Common/Framing/AMQDataBlockEncoder.cs b/dotnet/Qpid.Common/Framing/AMQDataBlockEncoder.cs
index b180e1ac95..6c30040167 100644
--- a/dotnet/Qpid.Common/Framing/AMQDataBlockEncoder.cs
+++ b/dotnet/Qpid.Common/Framing/AMQDataBlockEncoder.cs
@@ -51,14 +51,14 @@ namespace Qpid.Framing
{
IDataBlock frame = (IDataBlock) message;
int frameSize = (int)frame.Size; // TODO: sort out signed/unsigned
- ByteBuffer buffer = ByteBuffer.Allocate(frameSize);
+ ByteBuffer buffer = ByteBuffer.allocate(frameSize);
frame.WritePayload(buffer);
if (_logger.IsDebugEnabled)
{
_logger.Debug("Encoded frame byte-buffer is '" + ByteBufferHexDumper.GetHexDump(buffer) + "'");
}
- buffer.Flip();
+ buffer.flip();
output.Write(buffer);
}
}