HomePhabricator

[Chronik] Add `read_bytes` and `read_array`

Description

[Chronik] Add read_bytes and read_array

Summary: Simple helpers that allows parsing out bytes and returning an error otherwise.

Test Plan: ninja check-crates

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D13786

Details

Provenance
tobias_ruckAuthored on Apr 26 2023, 13:41
tobias_ruckPushed on Apr 26 2023, 13:42
Reviewer
Restricted Project
Differential Revision
D13786: [Chronik] Add `read_bytes` and `read_array`
Parents
rABC94e1e0c9ddfc: [Chronik] Make `u8` in `Opcode` pub
Branches
Unknown
Tags
Unknown