Griffin.Net.Protocols.MicroMsg.MicroMessageDecoder.ReadHeaderLength C# (CSharp) Method

ReadHeaderLength() private method

private ReadHeaderLength ( ISocketBuffer e ) : bool
e ISocketBuffer
return bool
        private bool ReadHeaderLength(ISocketBuffer e)
        {
            if (!CopyBytes(e))
                return false;

            _headerSize = BitConverter.ToInt16(_header, 0);
            _bytesLeftForCurrentState = _headerSize;
            _stateMethod = ProcessFixedHeader;
            _headerOffset = 0;
            return true;
        }