NLog.Targets.Syslog.ByteArray.this C# (CSharp) Method

this() public method

public this ( int index ) : byte
index int
return byte
        public byte this[int index]
        {
            get
            {
                if (index >= Length)
                    throw new IndexOutOfRangeException();

                return memoryStream.GetBuffer()[index];
            }
        }