blob: 1d1ef945b8bdd5cd545014fd25eb6a5f88987c92 [file]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library banjo.examples.buffer;
type SomeData = struct {
@buffer
one vector<uint8>;
};
@transport("Banjo")
protocol SomeMethods {
DoSomething(struct {
@buffer
input vector<uint8>;
}) -> ();
};