Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more utils for bytes #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mac-chaffee
Copy link

These can help improve error messages like this one:

stream size exceeded: 0.00mb: storage size 2.12mb, storage max 20000.00mb, file max 50.00mb, special file max 0.00mb

Ref: https://github.com/picosh/pico/blob/910a7a5d65bbcd5eb69c9ce921f7c653a2061c61/filehandlers/assets/handler.go#L373

Ref: picosh/pico#150

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.

1 participant