java - Converting Bit String to Double -


i have used double.doubletorawlongbits , long.tobinarystring convert double value string of bits. however, trying find methods convert string of bits double. double.longbitstodouble convert long representation of bits double, have been having trouble finding method convert string of bits long representation of bits.

any question appreciated! thank time in reading this.

given

long n = ... string s = long.tobinarystring(n); 

you use

long reconstructed = long.parselong(s, 2); 

to reconstruct long.


Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -