Akka.Interfaced.SlimSocket.StreamLengthMarker.StreamLengthMarker C# (CSharp) Method

StreamLengthMarker() public method

public StreamLengthMarker ( Stream stream, bool moveToNext ) : System
stream Stream
moveToNext bool
return System
        public StreamLengthMarker(Stream stream, bool moveToNext)
        {
            _stream = stream;
            _startPosition = _stream.Position;
            _endPosition = 0;

            if (moveToNext)
                _stream.Seek(4, SeekOrigin.Current);
        }