Since you are overwriting the previous contents in a ring buffer, you lose data by doing so.
因为您覆盖了循环缓冲区中以前的内容,所以在完成该操作后,您将丢失以前的数据。
Listing 4 and Listing 5 show samples of writing the data to a ring buffer and dumping its contents to file.
清单4和清单5显示了对循环缓冲区写入数据并且将其内容转储到文件的示例。
Quick Tip: Beware GPRS (mobile web) charges – probably best that you ring your network helpline and inquire about data charges.
小提示:当心 GPRS(手机网络)费用 - 你最好打电话给网络热线询问一下数据收费的问题。
应用推荐