Skip to content

drawfcall: ReadSnarf to return bytes read if buffer length was not big enough#145

Open
shoce wants to merge 1 commit into
9fans:mainfrom
shoce:snarf
Open

drawfcall: ReadSnarf to return bytes read if buffer length was not big enough#145
shoce wants to merge 1 commit into
9fans:mainfrom
shoce:snarf

Conversation

@shoce

@shoce shoce commented Jul 4, 2026

Copy link
Copy Markdown

sometimes it is ok to get at least a portion of actual snarf buffer, e.g. to show to user what kind of data is stored in snarf. i want to use a small (1kb or less) buffer to read the beginning of the snarf and decide myself if it is an error that the buffer was not big enough to fit the whole snarf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant