Internal
Reads the amount a BOLT11 invoice asks for from its human readable part, in millisats.
HRP only: no checksum or signature validation, that is the payer's job. Returns null for an amountless invoice.
If the string is not shaped like a BOLT11 invoice or the amount is malformed.
Reads the amount a BOLT11 invoice asks for from its human readable part, in millisats.