mirror of
https://github.com/status-im/nim-serialization.git
synced 2025-01-28 20:55:45 +00:00
Rename appendValue to writeValue for consistency
This commit is contained in:
parent
d7ed9c84d3
commit
dccba1e22b
@ -124,7 +124,7 @@ template borrowSerialization*(Alias: distinct type,
|
||||
mixin readValue
|
||||
value = Alias reader.readValue(OriginalType)
|
||||
|
||||
template appendValue*(stream: OutputStream, Format: type, value: auto) =
|
||||
template writeValue*(stream: OutputStream, Format: type, value: auto) =
|
||||
mixin WriterType, init, writeValue
|
||||
var writer = init(WriterType(Format), stream)
|
||||
writeValue writer, value
|
||||
|
Loading…
x
Reference in New Issue
Block a user