// create a buffer of size 10 that is not initialized const buffer = Buffer.allocUnsafe(10); // fill the buffer with data buffer.write('hello'); // create a buffer of size 20 const buffer2 = Buffer.allocUnsafe(20); // fill the second half of the buffer with data buffer2.write('world', 10);In the first example, we create a buffer with a size of 10 and write the string 'hello' into it. Because the buffer is not initialized, there may be data leftover from previous use. In the second example, we create a buffer with a size of 20 and write the string 'world' into the second half of the buffer, starting at index 10. This can be useful for situations where we need to append data to an existing buffer. The package library for this feature is the Node.js Buffer module.