// Token: 0x06000FEB RID: 4075 RVA: 0x0004B4D0 File Offset: 0x000496D0 public static byte[] GetByteArray(byte[] buff, ref int pos, int posMax) { int word = (int)ParseSerialize.GetWord(buff, ref pos, posMax); ParseSerialize.CheckBounds(pos, posMax, word); byte[] result = ParseSerialize.ParseBinary(buff, pos, word); pos += word; return(result); }
// Token: 0x06000FDD RID: 4061 RVA: 0x0004B168 File Offset: 0x00049368 public static short[] GetMVInt16(byte[] buff, ref int pos, int posMax) { uint dword = ParseSerialize.GetDword(buff, ref pos, posMax); ParseSerialize.CheckCount(dword, 2, posMax - pos); short[] array = new short[dword]; int num = 0; while ((long)num < (long)((ulong)dword)) { array[num] = (short)ParseSerialize.GetWord(buff, ref pos, posMax); num++; } return(array); }