Skip to main content
gamedev.net
🔒 Locked

[java] Write bits onto the console

Started by Falnom 0 replies 950+ views
Original Post
Falnom
Falnom
how do I write bits onto the console? Or more specifically I have a String of 0s and 1s and I want to know how I can write them (packed 8 to the byte) onto the console? thanks.
Falnom
Falnom
I think I solved my own problem by using System.out.write(...) it takes in a char and prints out the byte version.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.