Re: bytes_to_int

new topic     » goto parent     » topic index » view thread      » older message » newer message

your average Joe wrote:
> 
> basically, how can i convert a sequence like this
> 
> sequence = {199,235}
> 
> into a 2 byte signed integer

With the code I posted previously, I got -5177. Is that what you are looking
for?

--
"Any programming problem can be solved by adding a level of indirection."
--anonymous
"Any performance problem can be solved by removing a level of indirection."
--M. Haertel
j.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu