{P : Sort u} →
  {data : ByteArray} →
    {pos : ℕ} →
      {data' : ByteArray} →
        {pos' : ℕ} → { data := data, pos := pos } = { data := data', pos := pos' } → (data = data' → pos = pos' → P) → P