Skip to content

Use usize for read lengthΒ #21

@khernyo

Description

@khernyo

Not a big deal, but RandomAccess::read() should have a length: usize param, because it's supposed to read the data into memory. The other methods should keep length: u64.

Although, it would be even better to make it more rusty: read(&mut self, offset: u64, buf: &mut [u8]).

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