Skip to content

Interface::bulk_out() - support also slices as an argument #61

@XVilka

Description

@XVilka

Currently, the method signature is

pub fn bulk_out(&self, endpoint: u8, buf: Vec<u8>)

But it makes a requirement to allocate the buf, which isn't always welcome. I suggest also to support specifying buf as &[u8] slice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions