菜菜

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

  官方文档:

https://www.w3.org/TR/PNG-CRCAppendix.html

CRC32校验的数据,看原文

A four-byte CRC (Cyclic Redundancy Code) calculated on the preceding bytes in the chunk, including the chunk type field and chunk data fields, but not including the length field. The CRC can be used to check for corruption of the data. The CRC is always present, even for chunks containing no data. See 5.5: Cyclic Redundancy Code algorithm.

难怪把字节写回去就跪了,crc32校验码写错了

posted on 2017-11-02 16:40  好吧,就是菜菜  阅读(1883)  评论(0编辑  收藏  举报