Skip to content

rename Encode::to_vec --> Encode::pack ? #130

@pH14

Description

@pH14

This is minor, but one thing I've noticed hopping between language bindings is that all of the various FDB tuple layers use pack and pack_with_versionstamp as the verbs for turning a tuple into bytes, and currently we use to_vec (we don't have a with-versionstamp variant yet). to_vec seems more customary around Rust libs, but I'm wondering if it makes sense to rename for consistency w/ the other FDB bindings, or have both.

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