Y
Hacker News
new
|
ask
|
show
|
jobs
by
vardump
4024 days ago
You might implement it with a separate bitmap. One bit for each char in buffer. If a parity error occurs, set the corresponding bit on in the bitmap.