Page MenuHomePhabricator

[Chronik] Add `BitcoinSer` and `BitcoinSerializer`
ClosedPublic

Authored by tobias_ruck on Apr 29 2023, 22:33.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC28742beefd35: [Chronik] Add `BitcoinSer` and `BitcoinSerializer`
Summary

BitcoinSer is implemented by structs to serialize them. BitcoinSerializer is implemented to define how the serialization should be performed, e.g. BytesMut appends the bytes, and usize accumulates the length of the data.

Depends on D13831.

Test Plan

ninja check-crates

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable