blob: 0f54278fce8d4403569c80f9aa8b198b79c272c1 [file] [log] [blame]
// Copyright 2020 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 test.benchmarkfidl;
type ByteVector = struct {
bytes vector<uint8>;
};
closed protocol ByteVectorEventProtocol {
strict -> Send(struct {
val ByteVector;
});
};
closed protocol ByteVectorEchoCall {
strict Echo(struct {
val ByteVector;
}) -> (struct {
val ByteVector;
});
};
@transport("Driver")
closed protocol ByteVectorEchoCallDriver {
strict Echo(struct {
val ByteVector;
}) -> (struct {
val ByteVector;
});
};