[問題] 請問如何將檔案寫入bit
再做壓縮的時候,有時候會需要把73bit寫入檔案裡,可是我只會用fputc,
這樣總會有一個bit寫不進檔案裡,而且讀的時候也不知該怎麼讀1個bit,
請問該怎麼寫呢???
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 125.224.11.186
→
05/13 10:14, , 1F
05/13 10:14, 1F
推
05/13 22:04, , 2F
05/13 22:04, 2F
→
05/13 22:08, , 3F
05/13 22:08, 3F
→
05/13 22:14, , 4F
05/13 22:14, 4F
推
05/13 23:04, , 5F
05/13 23:04, 5F
→
05/13 23:04, , 6F
05/13 23:04, 6F
→
05/13 23:05, , 7F
05/13 23:05, 7F
→
05/13 23:05, , 8F
05/13 23:05, 8F