• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

moonbitlang / core / 1901

17 Nov 2025 01:17AM UTC coverage: 91.528% (-0.01%) from 91.539%
1901

push

github

bobzhang
Refactor byte conversion methods and tests for Int and UInt types

- Removed deprecated `contents` method from Buffer and replaced it with `to_bytes` and `view` methods.
- Updated `to_bytes` methods in Buffer, Float, Int, and UInt to use local byte conversion functions instead of relying on reinterpretation.
- Modified tests for Int and UInt to utilize Buffer for byte conversions, ensuring consistency and clarity.
- Cleaned up README documentation for UInt, removing unnecessary byte conversion examples.
- Updated package dependencies in `moon.pkg.json` for Int and UInt to include Buffer.

10 of 11 new or added lines in 2 files covered. (90.91%)

10306 of 11260 relevant lines covered (91.53%)

177958.72 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.33
/buffer/buffer.mbt


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc