Skip to content

Use usize for read length #21

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

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions