Difficulty: 3/10Buffer encoding, String conversion, Binary data handling1utf-8 for text data2ASCII for ASCII characters3base64: for encoding binary data as text4hex: for hexadecimal encoding.Scenario Questions0-2 years experience1You need to read a small text file and send its contents over a WebSocket as a string. Which Buffer encoding would you choose and why?2If you call Buffer.from('deadbeef', 'hex') and then .toString('utf8'), what will the output look like and why?2-5 years experience1A service you’re integrating returns binary data that appears garbled when you log it as a string. Walk me through how you would debug the encoding issue using Buffer methods.Follow-up QuestionsWhat is the default encoding when you call buffer.toString() without arguments?How does using 'base64' differ from 'hex' in terms of output size?Can you read a UTF‑16LE encoded file directly into a Buffer without conversion?Suggest Improvement