Skip to content

Passing in python bytes object instead of string to put_buffer #11

@andrewmzhang

Description

@andrewmzhang
r = pocket.put_buffer(p, src, size, dst_filename, jobid) 

The current python API requires that src be a python string, and passing in a python bytes object throws an error.

Is there a way to change the API/C++ dispatcher to allow me to pass in a bytes object?

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