Skip to content

Commit af07976

Browse files
Update and rename docs/buffers.md to docs/reference/buffer/bufferList.md
1 parent 58813d1 commit af07976

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# Buffers in MakeCode Arcade
1+
# Buffer List
2+
3+
A list of members exposed in the Buffer namespace and interface.
24

3-
In Microsoft MakeCode Arcade, the Buffer namespace is a core namespace designed for storing data precisely.
45

56
A **Buffer** is a **fixed size array of bytes (8 bits)** which allocates a new buffer. It is also stored in **contiguous memory**. The difference between arrays and buffers come down to a fact of **precision**. Use **Buffers** for a fixed size array of bytes, but use **Arrays** for dynamic data types (numbers, strings, booleans, etc.) Arrays are **dynamic** (of a process or system)
67

@@ -21,13 +22,7 @@ Binary math came to use electricity because engineers realized electrical switch
2122
The person who created the boolean system is [Gottfried Wilhelm Leibniz](https://en.wikipedia.org/wiki/Gottfried_Wilhelm_Leibniz).
2223
The other person who created boolean alegebra is [Georg Boole](https://en.wikipedia.org/wiki/George_Boole).
2324

24-
## Little Endian (LE) and Big Endian (BE)
25-
Little Endian groups bytes by the least significant byte at the lowest address.
26-
Big Endian stores the most significant byte at the lowest address, it is meant for human readability.
27-
28-
## Methods
29-
30-
25+
## Methods and Properties
3126

3227
* The Buffer.create(size: number) method stores bytes in a fixed size of memory.
3328

0 commit comments

Comments
 (0)