noVNC/core/decoders
Pierre Ossman d0203a5995 Always return copy of data from socket
We don't know how long the caller will hang on to this data, so we need
to be safe by default and assume it will kept indefinitely. That means
we can't return a reference to the internal buffer, as that will get
overwritten with future messages.

We want to avoid unnecessary copying in performance critical code,
though. So allow code to explicitly ask for a shared buffer, assuming
they know the data needs to be consumed immediately.
2023-06-04 19:12:02 +02:00
..
copyrect.js Handle empty rects from the server 2020-09-04 16:16:44 +02:00
hextile.js Always return copy of data from socket 2023-06-04 19:12:02 +02:00
jpeg.js Always return copy of data from socket 2023-06-04 19:12:02 +02:00
raw.js Always return copy of data from socket 2023-06-04 19:12:02 +02:00
rre.js Update copyright to 2019 for modified files 2019-09-30 15:35:33 +02:00
tight.js Always return copy of data from socket 2023-06-04 19:12:02 +02:00
tightpng.js Validate decoded image dimensions 2019-12-23 15:42:02 +01:00
zrle.js Always return copy of data from socket 2023-06-04 19:12:02 +02:00