Function bitcoin_system::spanparsing_const
source · pub fn spanparsing_const(str_: &String, sp: &mut [u8]) -> bool
Expand description
| Parse a constant. | | If sp’s initial part matches str, sp | is updated to skip that part, and true | is returned. | | Otherwise sp is unmodified and false | is returned. |