Hello,
Sorry for not being clearer: I'd like to write the 8 byte binary
representation of a Long to a ByteString and convert it back to a Long.
Thanks!
Best, Oliver
On Thursday, September 25, 2014 4:47:21 PM UTC-4, Tiago Canatelli wrote:
>
> Complete
>
> Long l = 1L;
> ByteString byteString = ByteString.fromString(l.toString());
>
> Em quinta-feira, 25 de setembro de 2014 17h11min36s UTC-3, Oliver
> Ruebenacker escreveu:
>>
>>
>> Hello,
>>
>> What is the preferred way to convert a Long into a ByteString and back?
>> Thanks!
>>
>> Best, Oliver
>>
>
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.