node: data is now an Uint8Array