Talk:Bit Input/Output Stream utility classes for efficient data transfer

From Nokia Developer Wiki
Jump to: navigation, search

Hongz - Endianess

Great article!

One needs to pay attention to the endianess if he wants to adopt this code. readBit() in this article reads the least significant bit first, but regards it as the most significant bit in constructing the returned number. This may not jibe well with many situations.

Hongz 17:43, 13 September 2012 (EEST)

Narucy - So many loops

Not great implementation. 1 bit each set/get and loops not optimize. You should minimize loop bunch of bits set with multiple length shift.

narucy (talk) 08:30, 24 March 2014 (EET)


Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.