# How to use settings.writebuffer

**URL:** <https://forum.makecode.com/t/how-to-use-settings-writebuffer/18684>\
**Category:** Arcade\
**Tags:** extension\
**Created:** [March 22, 2023, 8:13pm UTC](https://forum.makecode.com/t/how-to-use-settings-writebuffer/18684 "2023-03-22T20:13:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)\
**Post date:** [March 23, 2023, 5:03pm UTC](https://forum.makecode.com/t/how-to-use-settings-writebuffer/18684/2 "2023-03-23T17:03:56Z")

</div>

Buffers in MakeCode usually are byte arrays. If you want to store an integer, then use `settings.writeNumber()` instead.

I wrote a brief tutuorial on using the `settings` namespace in JavaScript a while ago. Feel free to check it out for additional information.

> [@Quick tutorial on the \`settings\` namespace](https://forum.makecode.com/t/quick-tutorial-on-the-settings-namespace/1013):
>
> @Momoro asked me a question in a different thread: Are you planning on making a “save / load file” extension for Arcade? I really need this smiley@mmoskal reminded me of the new settings namespace: We actually now have ‘settings’ namespace. You can store up to 16k of data there. This works on all hardware and in the simulator. I totally forgot about the new settings namespace, Michał. Thanks for the reminder to get in there and check it out! I noticed there wasn’t any documentation o…

If you have other questions, then feel free to ask.

---

_[View the full topic](https://forum.makecode.com/t/how-to-use-settings-writebuffer/18684)._
