chromium/mojo/public/mojom/base/read_only_buffer.mojom

// 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.

module mojo_base.mojom;

// This struct is typemapped to base::span<const uint8_t>.
// Note: At the receiving end, this base::span<const uint8_t> refers to a memory
// range within the received message.
struct ReadOnlyBuffer {
  array<uint8> buffer;
};