You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, ByteString-factory accepts only signed bytes. Which is mildly annoying when it comes to writing code that initializes byte strings with some constants.
It would be nice to have an unsigned bytes overload.
// How it looks nowval magic =ByteString(0xcf.toByte(), 0xfa.toByte(), 0xed.toByte(), 0xfe.toByte())
// How should it look:val magic =ByteString(0xcfu, 0xfau, 0xedu, 0xfeu)