mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-01 19:23:57 +00:00
Fix the spell mistake (#4599)
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
020012e69c
commit
462ce03ebe
@@ -329,7 +329,7 @@ performs a swap operation on big endian machines), and also because
|
|||||||
the layout of things is generally not known to the user.
|
the layout of things is generally not known to the user.
|
||||||
|
|
||||||
For structs, layout is deterministic and guaranteed to be the same
|
For structs, layout is deterministic and guaranteed to be the same
|
||||||
accross platforms (scalars are aligned to their
|
across platforms (scalars are aligned to their
|
||||||
own size, and structs themselves to their largest member), and you
|
own size, and structs themselves to their largest member), and you
|
||||||
are allowed to access this memory directly by using `sizeof()` and
|
are allowed to access this memory directly by using `sizeof()` and
|
||||||
`memcpy` on the pointer to a struct, or even an array of structs.
|
`memcpy` on the pointer to a struct, or even an array of structs.
|
||||||
|
|||||||
Reference in New Issue
Block a user