1 // Copyright 2017 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 module mojo_base.mojom; 6 7 // This struct is typemapped to base::span<const uint8_t>. 8 // Note: At the receiving end, this base::span<const uint8_t> refers to a memory 9 // range within the received message. 10 struct ReadOnlyBuffer { 11 array<uint8> buffer; 12 }; 13