I typed this into the nodejs console
new Buffer(new Buffer([0xde]).toString('utf8'), 'utf8')
and it prints out
<Buffer ef bf bd>
After looking at the docs it seems that this would produce an identical buffer. I'm creating a utf8 encoded string from a buffer whose contents consist of one byte (0xde) then using that utf8 encoded string to create a buffer. Am I missing something here?