Skip to content

Commit

Permalink
Backup
Browse files Browse the repository at this point in the history
  • Loading branch information
vic-ma committed Jul 9, 2024
1 parent e6a6448 commit eedcb13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions course-definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,11 @@ stages:
### Database file
The SQLite database file begins with the database header. The database page size is stored in the header, right after the magic string.
The SQLite database file begins with the database header. The database page size is stored in the header, right after the magic string. It's a 2-byte, big-endian value (read left-to-right).
```
// Start of file
53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 // Magic string: "SQLite format 3" + null terminator.
10 00 /* Database page size, in bytes,
stored in big-endian (read left-to-right).
10 00 /* Database page size, in bytes.
Here, the page size is 4096 bytes. */
...
```
Expand All @@ -76,6 +75,7 @@ stages:
- For more information about the SQLite database file format, see the [Database File Format](https://www.sqlite.org/fileformat.html#the_database_header) guide.
- Database headers use big-endian to store multi-byte fields. See the [MDN article on endianness](https://developer.mozilla.org/en-US/docs/Glossary/Endianness) to learn more.
marketing_md: |-
In this stage, we'll do XYZ.
Expand All @@ -86,4 +86,4 @@ stages:
In this stage, we'll do XYZ
marketing_md: |-
In this stage, we'll do XYZ.
In this stage, we'll do XYZ.

0 comments on commit eedcb13

Please sign in to comment.