Haskell : convert a bytestring to [word8] -


my intent convert bytestring list of word8 in haskell in order access lsb each byte.

any idea how achieve ?

unpack :: bytestring -> [word8]  

http://hackage.haskell.org/package/bytestring-0.10.8.1/docs/data-bytestring.html#v:unpack

also consider whether can skip intermediate list, , directly use foldl' or related fold.


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -