Add top-level `encode`/`decode` functions by jcrist · Pull Request #10 · msgspec/msgspec · GitHub
Skip to content

Add top-level encode/decode functions - #10

Merged
jcrist merged 2 commits into
masterfrom
top-level-functions
Feb 22, 2021
Merged

Add top-level encode/decode functions#10
jcrist merged 2 commits into
masterfrom
top-level-functions

Conversation

@jcrist

@jcrist jcrist commented Feb 22, 2021

Copy link
Copy Markdown
Member

Adds top-level msgspec.encode/msgspec.decode functions. These are slightly less efficient than their class-based counterparts, but for many use cases this difference should be negligible.

Fixes #3.

@jcrist
jcrist merged commit 0d6eb93 into master Feb 22, 2021
@jcrist
jcrist deleted the top-level-functions branch February 22, 2021 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add top-level encode/decode functions

1 participant