appwrite/tests/resources/functions/binary-response/index.js
2025-07-10 12:55:45 +02:00

4 lines
140 B
JavaScript

module.exports = async(context) => {
const bytes = Buffer.from(Uint8Array.from([0, 10, 255]));
return context.res.binary(bytes);
};