Skip to content

How to write c++ function that can consume python3 bytes? #49

Closed
@kvikas

Description

@kvikas

Hello,

This is not necessarily an issue, but a question. Sorry to ask here. I couldn't find an appropriate forum to ask questions about pybind11.

I've a python3 program and I want to rewrite some of the functionality in C++. The function I want to rewrite takes bytes as input. What would be the correct signature for corresponding C++ function? I'm trying to use pybind11 for the binding.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions