Global.fromBigEndianBytes method #993
Labels
A-consensus
Area: Code used in consensus (i.e. transaction validation)
C-feature
Category: Feature request or PR
soft-fork
Implementation requires soft-fork
Milestone
A new Global.fromBigEndianBytes[TNum] method should be implemented which can parse big-endian two's complement binary representation of TNum type.
The type TNum can be one of Byte, Short, Int, Long, BigInt.
Examples:
It should be mutually inverse to Numeric.toBigEndianBytes, so that, continuing the above example:
Related to toBigEndianBytes in #486
The text was updated successfully, but these errors were encountered: