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

moonbitlang / core / 8113
87%

Build:
DEFAULT BRANCH: main
Ran 10 Nov 2026 03:41AM UTC
Jobs 1
Files 690
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Nov 2026 03:39AM UTC coverage: 88.362% (+0.005%) from 88.357%
8113

push

github

web-flow
feat(bigint): to_be_bytes with an exact length; deprecate to_octets and from_octets (#4779)

to_octets(length=n) treated n as a minimum, so a value that needed more
than n bytes came back longer with no error (256N.to_octets(length=1) is
two bytes). to_be_bytes(length?) returns the shortest encoding without
length, and exactly length bytes with it, panicking when the value does
not fit. Zero fits in any length, including 0.

from_be_bytes reads unsigned big-endian bytes and drops from_octets'
signum, whose 0 discarded the input; negate the result for a negative
value. The names follow UInt64::to_be_bytes and Float::to_be_bytes.

to_octets and from_octets stay as deprecated wrappers in deprecated.mbt,
shared by every backend, with their old behaviour pinned by tests.

14 of 14 new or added lines in 3 files covered. (100.0%)

25564 of 28931 relevant lines covered (88.36%)

432284.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8113.1 10 Nov 2026 03:41AM UTC 690
88.36
GitHub Action Run
Source Files on build 8113
  • Tree
  • List 690
  • Changed 5
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a8e3e8ac on github
  • Prev Build on main (#8111)
  • Next Build on main (#8117)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc