forked from BigfootDev/flatbuffers
docs: clean up whitespace and fix typo in tutorial.md (#8695)
* docs: remove trailing whitespace * docs: fix typo in tutorial.md
This commit is contained in:
@@ -2056,7 +2056,7 @@ functions to get the root object given the buffer.
|
|||||||
```c++
|
```c++
|
||||||
uint8_t *buffer_pointer = /* the data you just read */;
|
uint8_t *buffer_pointer = /* the data you just read */;
|
||||||
|
|
||||||
// Get an view to the root object inside the buffer.
|
// Get a view to the root object inside the buffer.
|
||||||
Monster monster = GetMonster(buffer_pointer);
|
Monster monster = GetMonster(buffer_pointer);
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -2076,7 +2076,7 @@ functions to get the root object given the buffer.
|
|||||||
```c#
|
```c#
|
||||||
byte[] bytes = /* the data you just read */
|
byte[] bytes = /* the data you just read */
|
||||||
|
|
||||||
// Get an view to the root object inside the buffer.
|
// Get a view to the root object inside the buffer.
|
||||||
Monster monster = Monster.GetRootAsMonster(new ByteBuffer(bytes));
|
Monster monster = Monster.GetRootAsMonster(new ByteBuffer(bytes));
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user