Skip to content

Improve Buffer.len() return type docs #86

Description

@amunra

It's been reported that the len method can be confused to return the row count instead of the byte count.

We should improve the docs to explain that the buffer is not a collection of rows, but a binary buffer.

Additionally, the len method in Rust should use a ByteCount typedef of usize to further clarify its use.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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