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

Refactor error codes and other improvements #10

Merged
merged 4 commits into from
Mar 20, 2024
Merged

Conversation

XuJiandong
Copy link
Owner

@XuJiandong XuJiandong commented Mar 19, 2024

  1. Remove strings: it costs extra space in binary.
  2. Allow read 0 byte from data source.
  3. Add clone
  4. Fix length on read
  5. Add slice_by_start

XuJiandong and others added 3 commits March 19, 2024 14:32
Remove strings because it takes more space in contracts.
* Handle some errors in examples/lazy-reader-tests

* Check read_len == 0 on lazy_reader.rs: read_at
@XuJiandong XuJiandong changed the title Refactor error codes Refactor error codes and other improvements Mar 19, 2024
* fix length on read
* add slice_by_start
@XuJiandong XuJiandong merged commit 785a309 into lazy-reader Mar 20, 2024
6 checks passed
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.

2 participants