Convert a typed array to a Buffer without a copy