News for hackers. Stuff that matters.
Re:How to save multiple numbers into one byte by kosma on Friday December 02, 2016 @07:59PM (#13093583)
Unless you're optimizing for raw speed, converting from/to base-3 using your language's standard library should be short and sweet.
Re:How to save multiple numbers into one byte by inimino on Friday December 02, 2016 @08:20PM (#13093665)
That would give you a string, right? Are you suggesting something like concatenating five numbers into a string first?