| // 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>; | |
| }) -> (); | |
| }; |