Click here to Skip to main content
Sign Up to vote bad
good
See more: Java
Lets say i am working with a file format that takes bytes from 0-255 for some input. In Java, that is a bit hard with the allways signed byte.
 
How do i convert a int to byte and get the correct binary value?
Posted 31 Jan '13 - 9:20


1 solution

  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 355
1 OriginalGriff 325
2 Arun Vasu 268
3 CPallini 213
4 Tadit Dash 201
0 Sergey Alexandrovich Kryukov 10,005
1 OriginalGriff 7,654
2 CPallini 4,171
3 Rohan Leuva 3,447
4 Maciej Los 2,974


Advertise | Privacy | Mobile
Web04 | 2.6.130523.1 | Last Updated 31 Jan 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid