Пример #1
0
        protected override void BuildHeader(SendBuffer sendBuffer, bool transformed)
        {
            uint header = (uint)(transformed ? 1 : 0);
            header |= ((uint)sendBuffer.Buffer.Length << 1);

            sendBuffer.HeaderLength = Serializer.WriteVariable(sendBuffer.HeaderBytes, header);
        }
Пример #2
0
 protected abstract void BuildHeader(SendBuffer sendBuffer, bool transformed);