Gurux.DLMS.GXByteBuffer.GetStringUtf8 C# (CSharp) Method

GetStringUtf8() public method

Get String value from byte array.
public GetStringUtf8 ( int index, int count ) : string
index int Byte index.
count int Byte count.
return string
        public string GetStringUtf8(int index, int count)
        {
            if (index < 0)
            {
                throw new ArgumentOutOfRangeException("index");
            }
            if (count < 0)
            {
                throw new ArgumentOutOfRangeException("count");
            }
            return Encoding.UTF8.GetString(Data, index, count);
        }