Convert from Uint8Array to Buffer

You should be asserting not throwing.