naiveproxy/mojo/common/read_only_buffer.mojom
2018-01-29 00:30:36 +08:00

13 lines
421 B
Plaintext

// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module mojo.common.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;
};