HomePhabricator

Add MakeUCharSpan, to help constructing Span<[const] unsigned char>

Description

Add MakeUCharSpan, to help constructing Span<[const] unsigned char>

Summary:
Partial backport (3/8) of core PR19326:
https://github.com/bitcoin/bitcoin/pull/19326/commits/e63dcc3a6752e7d406e7a650c2d6c2e95cd39aab

Depends on D9148.

Test Plan:

ninja

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Pieter Wuille <pieter@wuille.net>Authored on Jun 18 2020, 23:31
FabienCommitted on Feb 4 2021, 08:50
FabienPushed on Feb 4 2021, 08:51
Reviewer
Restricted Project
Differential Revision
D9149: Add MakeUCharSpan, to help constructing Span<[const] unsigned char>
Parents
rABC6d6b676c0a4a: Make uint256 Span-convertible by adding ::data()
Branches
Unknown
Tags
Unknown