Skip to content

Read or write over files #13716

Answered by chrisvest
tisonkun asked this question in Q&A
Dec 5, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Netty's programming model is centered around streaming data or messages in and out, which mirrors the stream and datagram sockets APIs.
Files, on the other hand, are seekable, extendable byte arrays. This favors a different programming model, and it's awkward to fit such APIs into the Netty pipeline/handler model.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tisonkun
Comment options

@chrisvest
Comment options

Answer selected by tisonkun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants