// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
dictionary MojoReadMessageResult {
// TODO(alokp): Consider raising exception for read error.
required MojoResult result;
// TODO(alokp): Check if returning DataView makes sense.
// It would require some changes in mojo/js/public/[buffer,codec].js.
ArrayBuffer buffer;
sequence<MojoHandle> handles;
};