在哪里可以找到循环缓冲区的良好 Delphi 或 Object Pascal 实现

发布于 2024-08-08 15:48:40 字数 98 浏览 2 评论 0原文

我的主要目的是拥有一个可用于传输的通用数据缓冲区。

我正在考虑一些类似于 XCopy 所做的事情。

是否有一些已经提出的东西或者一个可以遵循的好例子?

My main purpose is to have a generic data buffer that I can use for transfers.

I'm thinking of something along the lines of what XCopy did.

Is there something already made out there or a good example one can follow?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

度的依靠╰つ 2024-08-15 15:48:40

Julian Bucknall 的《Tomes of Delphi》 描述了循环缓冲区的代码,其代码为免费下载。我现在手头没有这本书,所以我不能告诉你到底去哪里看(尽管我认为这可能与使用滑动窗口进行数据压缩有关)。

The Tomes of Delphi by Julian Bucknall describes code for circular buffers, the code of which is freely available as a download. I haven't got the book to hand at the moment, so I can't tell you exactly where to look (though I think it might have had something to do with carrying out data compression with a sliding window).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文