# Buffer parser to reverse

**URL:** https://discourse.nodered.org/t/buffer-parser-to-reverse/75860
**Category:** General
**Created:** [28 February 2023 07:40 UTC](https://discourse.nodered.org/t/buffer-parser-to-reverse/75860 "2023-02-28T07:40:48Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Kursat](https://avatars.discourse-cdn.com/v4/letter/k/3da27b/32.png) [@Kursat](https://discourse.nodered.org/u/Kursat)
#### Post date: [28 February 2023 07:40 UTC](https://discourse.nodered.org/t/buffer-parser-to-reverse/75860/1 "2023-02-28T07:40:48Z")

</div>

I converted the data that came with the buffer parser node to string, but it was reversed in binary, how can I fix this?

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [28 February 2023 07:47 UTC](https://discourse.nodered.org/t/buffer-parser-to-reverse/75860/2 "2023-02-28T07:47:37Z")

</div>

Try setting swap 16

---

<div class="post-metadata">

### Author: ![Kursat](https://avatars.discourse-cdn.com/v4/letter/k/3da27b/32.png) [@Kursat](https://discourse.nodered.org/u/Kursat)
#### Post date: [28 February 2023 07:51 UTC](https://discourse.nodered.org/t/buffer-parser-to-reverse/75860/3 "2023-02-28T07:51:54Z")

</div>

I don't understand, can you write in more detail?

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [28 February 2023 07:56 UTC](https://discourse.nodered.org/t/buffer-parser-to-reverse/75860/4 "2023-02-28T07:56:03Z")

</div>

Open the buffer. Parser settings and look for a property named swap. Select the option swap 16. Deploy and try again.

---

<div class="post-metadata">

### Author: ![Kursat](https://avatars.discourse-cdn.com/v4/letter/k/3da27b/32.png) [@Kursat](https://discourse.nodered.org/u/Kursat)
#### Post date: [28 February 2023 08:00 UTC](https://discourse.nodered.org/t/buffer-parser-to-reverse/75860/5 "2023-02-28T08:00:44Z")

</div>

worked thank you

---

<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: [14 March 2023 08:01 UTC](https://discourse.nodered.org/t/buffer-parser-to-reverse/75860/6 "2023-03-14T08:01:11Z")

</div>

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