polkadot-js / common

Utilities and base libraries for use across polkadot-js for Polkadot and Substrate. Includes base libraries, crypto helpers and cross-environment helpers.
Apache License 2.0
253 stars 144 forks source link

toBin conversion #1916

Open TarikGul opened 5 months ago

TarikGul commented 5 months ago

Given how coretime masks are suppose to be decoded, it would be a QOL feature to be able to have hexToBin, and u8aToBin where it can convert those values to a binary string.