ssbc / ssb-bfe

Binary Field Encodings (BFE) for Secure Scuttlebutt (SSB)
3 stars 1 forks source link

add convenience method toTF #26

Closed mixmix closed 3 years ago

mixmix commented 3 years ago

context: I've been writing code with ssb-bfe across a bunch of modules and have found myself copying this pattern (2-3 times). I figure that's good enough to want to give it a home.

this PR is low priority. If it's an easy win, merge. If there's something minor you'd like changed, change it and merge it!

mixmix commented 3 years ago

Nice! Helpful errors <3