# How can I split buffer where received the specific byte

**URL:** https://discourse.nodered.org/t/how-can-i-split-buffer-where-received-the-specific-byte/5084
**Category:** General
**Created:** [21 November 2018 00:48 UTC](https://discourse.nodered.org/t/how-can-i-split-buffer-where-received-the-specific-byte/5084 "2018-11-21T00:48:27Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [21 November 2018 07:41 UTC](https://discourse.nodered.org/t/how-can-i-split-buffer-where-received-the-specific-byte/5084/2 "2018-11-21T07:41:08Z")

</div>

Didn’t Colin answer this when you asked a similar question 8days ago?

(see his first post)

> [@How can I get array components values](https://discourse.nodered.org/t/how-can-i-get-array-components-values/4820/2):
>
> Note that this is not an Array it is a Buffer, which is not the same thing. However, if you just want individual bytes as numbers then you can access as if it is an array of 8 bit integers. So you can use, for example var x = msg.payload[2] to get element 2. There are a number of questions though. Is that what you are trying to do or do you want the buffer split into a sequence of messages each containing one value or what? If you want one number per message then first convert it to an ex…

---

_[View the full topic](https://discourse.nodered.org/t/how-can-i-split-buffer-where-received-the-specific-byte/5084)._
