From my understanding and API docs, in Node the following are equivalent and return an Uint8Array:
Uint8Array
Buffer.from(someString, \'utf-8\')