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

gimli-rs / object / 28561084837

02 Jul 2026 02:27AM UTC coverage: 58.555% (+0.08%) from 58.474%
28561084837

push

github

web-flow
Add write::CountingBuffer (#930)

Move all position tracking from WritableBuffer into CountingBuffer.
This allows WritableBuffer to be implemented for &mut [u8], which can
then be used for elf::Encoder and macho::Encoder. This may also make it
possible to support appending to a non-empty Vec, but I haven't allowed
that yet.

This removes WritableBuffer::len and WritableBuffer::resize.

Also move WritableBuffer::write_pod and write_pod_slice to a new
WritableBufferExt trait. This also replaces the write/write_slice
methods that were implemented for dyn WritableBuffer, as well as
some internal freestanding functions.

168 of 213 new or added lines in 11 files covered. (78.87%)

2 existing lines in 2 files now uncovered.

12542 of 21419 relevant lines covered (58.56%)

1.77 hits per line

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

71.92
/src/write/macho/encoder.rs


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