B
B
bezvozni2020-11-30 18:43:41
Java
bezvozni, 2020-11-30 18:43:41

How to convert "11111111" to byte?

What would then be written by the write method of the FileOutputStream class

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Codebaker, 2020-11-30
@Codebaker

byte b = Byte.parseByte(str, 2);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question