alef 0.23.15

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
/// Convenience overload: accepts a `[UInt8]` byte array.
public func {{ wrapper_name }}(
    content: [UInt8]{{ trailing_params }}
){{ throws_clause }} -> {{ return_ty }} {
    return try {{ inner_call }}(makeByteVec(content){{ trailing_args }}){{ return_suffix }}
}