// Token: 0x06000FE7 RID: 4071 RVA: 0x0004B3EC File Offset: 0x000495EC public static string GetStringFromASCII(byte[] buff, ref int pos, int posMax) { int num = 0; while (pos + num < posMax && buff[pos + num] != 0) { num++; } if (pos + num >= posMax) { throw new BufferTooSmallException("Request would overflow buffer"); } return(ParseSerialize.GetStringFromASCII(buff, ref pos, posMax, num + 1)); }
// Token: 0x06000FEC RID: 4076 RVA: 0x0004B500 File Offset: 0x00049700 public static string[] GetMVString8(byte[] buff, ref int pos, int posMax) { uint dword = ParseSerialize.GetDword(buff, ref pos, posMax); ParseSerialize.CheckCount(dword, 1, posMax - pos); string[] array = new string[dword]; int num = 0; while ((long)num < (long)((ulong)dword)) { array[num] = ParseSerialize.GetStringFromASCII(buff, ref pos, posMax); num++; } return(array); }