DBCViewer.DBCReader.GetString C# (CSharp) Method

GetString() public method

public GetString ( int offset ) : string
offset int
return string
        public string GetString(int offset)
        {
            unsafe
            {
                fixed (byte* b = Strings)
                {
                    int len = 0;

                    while (*(b + offset) != 0)
                        len++;

                    return new string((sbyte*)b, offset, len, Encoding.UTF8);
                }
            }
        }