# Converting Base 64 to Hexadecimal

**URL:** <https://discourse.nodered.org/t/converting-base-64-to-hexadecimal/34031>\
**Category:** General\
**Created:** [10 October 2020 04:34 UTC](https://discourse.nodered.org/t/converting-base-64-to-hexadecimal/34031 "2020-10-10T04:34:58Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [11 October 2020 09:38 UTC](https://discourse.nodered.org/t/converting-base-64-to-hexadecimal/34031/23 "2020-10-11T09:38:52Z")

</div>

I don't see the first function node when I import Dave's flow. Where did it come from??

@dceejay When I first import the flow, the function node is fine, but if I open it and close it without making a change, the red triangle shows up. the cause it the first if statement  
`if (bytes[0]==01) {`  
If I change the `01` to `1` then the configuration error goes away, changing it back to `01` and the issue pops up again.

---

<div class="post-metadata">

**Author:** ![bachloo.rahul](https://avatars.discourse-cdn.com/v4/letter/b/779978/32.png) [@bachloo.rahul](https://discourse.nodered.org/u/bachloo.rahul)\
**Post date:** [11 October 2020 10:06 UTC](https://discourse.nodered.org/t/converting-base-64-to-hexadecimal/34031/24 "2020-10-11T10:06:17Z")

</div>

Yes I tested your complete flow it works well.Thank you for the support,really appreciate it.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [25 October 2020 10:06 UTC](https://discourse.nodered.org/t/converting-base-64-to-hexadecimal/34031/25 "2020-10-25T10:06:20Z")

</div>

Closed on 25 October 2020 10:06 UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/converting-base-64-to-hexadecimal/34031.md?page=1)
