readme: minor
This commit is contained in:
parent
de1e780dbf
commit
89defc4ab3
|
@ -146,8 +146,8 @@ proc toData(data: var openArray[byte]; pos: var int; input: T)
|
|||
proc byteSize(x: T): int {.inline.} ## The size that will be consumed by the serialized type in bytes.
|
||||
```
|
||||
|
||||
This is only necessary for destructor-based types. `mutate`, `default` and `==` must also be defined.
|
||||
`drchaos/common` exports read/write procs that assist with this task.
|
||||
This is only necessary for objects that contain raw pointers. `mutate`, `default` and `==`
|
||||
must also be defined. `drchaos/common` exports read/write procs that assist with this task.
|
||||
|
||||
### Dos and don'ts
|
||||
|
||||
|
|
Loading…
Reference in New Issue