コード例 #1
0
 protected internal virtual void WrapForEncode(IClientProtocolBuffer buffer, int offset)
 {
     EnsureHeaderSize(offset, buffer.Capacity());
     Wrap(buffer, offset);
     SetDataOffset(HeaderSize);
     SetFrameLength(HeaderSize);
     Index(GetDataOffset());
     SetPartitionId(-1);
 }
コード例 #2
0
 protected internal virtual void WrapForEncode(IClientProtocolBuffer buffer, int offset)
 {
     EnsureHeaderSize(offset, buffer.Capacity());
     Wrap(buffer, offset);
     SetDataOffset(HeaderSize);
     SetFrameLength(HeaderSize);
     Index(GetDataOffset());
     SetPartitionId(-1);
 }
コード例 #3
0
 protected internal virtual void WrapForDecode(IClientProtocolBuffer buffer, int offset)
 {
     EnsureHeaderSize(offset, buffer.Capacity());
     Wrap(buffer, offset);
     Index(GetDataOffset());
 }
コード例 #4
0
 protected internal virtual void WrapForDecode(IClientProtocolBuffer buffer, int offset)
 {
     EnsureHeaderSize(offset, buffer.Capacity());
     Wrap(buffer, offset);
     Index(GetDataOffset());
 }