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
|
mixin readValue
|
||||||
value = Alias reader.readValue(OriginalType)
|
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
|
mixin WriterType, init, writeValue
|
||||||
var writer = init(WriterType(Format), stream)
|
var writer = init(WriterType(Format), stream)
|
||||||
writeValue writer, value
|
writeValue writer, value
|
||||||
|
|
Loading…
Reference in New Issue