Buffer

fromHex(pointer, size) (static) [Buffer class]

Create a Buffer object from hexadecimal data specified by pointer and length.

// PROTOTYPE
static Buffer fromHex(const char* str, size_t len)

When specifing str and len, the string and length should specify the data only. A null terminator is not required and must not be included in len.