1
3
Fork
You've already forked ZBuf
0

API Reader Functionality #4

Closed
opened 2025年12月26日 03:22:48 +01:00 by Gota7 · 3 comments
Owner
Copy link

Add using a reader for the API instead of just a constant buffer.

Add using a reader for the API instead of just a constant buffer.
Gota7 added this to the 1.0.0 milestone 2025年12月26日 03:22:48 +01:00
Gota7 added this to the Jupiter project 2025年12月26日 04:07:46 +01:00
Author
Owner
Copy link

Is this really worth it? You would need a temporary allocator to store data for bytes objects and that will result in extra bufzilla code. I think this is fine for now. Plus in worst case, we are just storing the whole file again in memory anyways? If we really need a way to stream data because the file is way too big for memory then I think that is when you would bust out a specialized format and not use something like ZBuf anyways.

Is this really worth it? You would need a temporary allocator to store data for bytes objects and that will result in extra bufzilla code. I think this is fine for now. Plus in worst case, we are just storing the whole file again in memory anyways? If we really need a way to stream data because the file is way too big for memory then I think that is when you would bust out a specialized format and not use something like ZBuf anyways.
Author
Owner
Copy link

Re-opening this since it is a more practical API even if it involves substantial modification to bufzilla.

Re-opening this since it is a more practical API even if it involves substantial modification to bufzilla.
Gota7 modified the milestone from 1.0.0 to 2.0.0 2026年01月22日 16:11:06 +01:00
Author
Owner
Copy link

Closed with b11891a150

Closed with https://codeberg.org/7Games/ZBuf/commit/b11891a150e117291ad4b1c900e8191fad432f8e
Sign in to join this conversation.
No Branch/Tag specified
main
docs
v2.0.1
v2.0.0
v1.4.0
v1.3.0
v1.2.0
v1.1.0
v1.0.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
7Games/ZBuf#4
Reference in a new issue
7Games/ZBuf
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?