noVNC/core
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
..
crypto Cleanup for the cryptographic algorithms that are not supported by SubtleCrypto 2023-01-20 05:54:00 -05:00
decoders Always return copy of data from socket 2023-06-04 19:12:02 +02:00
input auto release keys while meta is held down. 2022-10-15 14:48:39 +02:00
util Cleanup for the cryptographic algorithms that are not supported by SubtleCrypto 2023-01-20 05:54:00 -05:00
base64.js Standardize on camelCase in Base64 2020-05-31 23:37:29 +02:00
deflator.js Add camelCase rule to eslint 2020-05-31 23:37:29 +02:00
display.js Switch Display.flush() to use a promise 2023-06-04 19:00:33 +02:00
encodings.js Merge branch 'add-jpeg-encoding' of https://github.com/pdlan/noVNC 2021-11-29 09:18:50 +01:00
inflator.js Add camelCase rule to eslint 2020-05-31 23:37:29 +02:00
ra2.js Change rQslice() to rQpeekBytes() 2023-06-04 19:00:33 +02:00
rfb.js Use proper socket helpers for FBU header 2023-06-04 19:00:33 +02:00
websock.js Always return copy of data from socket 2023-06-04 19:12:02 +02:00