From Buffer, string and array