// Token: 0x06000FD0 RID: 4048 RVA: 0x0004AF73 File Offset: 0x00049173
 public static void CheckBounds(int pos, int posMax, int sizeNeeded)
 {
     if (!ParseSerialize.CheckOffsetLength(posMax, pos, sizeNeeded))
     {
         throw new BufferTooSmallException("Request would overflow buffer");
     }
 }
 // Token: 0x06000FA1 RID: 4001 RVA: 0x0004A87B File Offset: 0x00048A7B
 public static bool CheckOffsetLength(byte[] buffer, int offset, int length)
 {
     return(ParseSerialize.CheckOffsetLength(buffer.Length, offset, length));
 }