Skip to content

new feature: support split Buffer into chunks #6520

@leiysky

Description

@leiysky

Feature Description

Buffer can be considered as a Vec<u8>, sometime we want to split it into fixed chunks.

Problem and Solution

https://docs.rs/itertools/latest/itertools/trait.Itertools.html#method.chunks

This tool is helpful to split Vec<u8> into chunks, we can refer to it.

Additional Context

No response

Are you willing to contribute to the development of this feature?

  • Yes, I am willing to contribute to the development of this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestreleases-note/featThe PR implements a new feature or has a title that begins with "feat"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions