mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-03 06:23:10 +00:00
* Add simple mock mechanism. * Implement migrations tests. * Implement peer storage tests. * Add simple protobuf serialisation testcase.
6 lines
129 B
Nim
6 lines
129 B
Nim
proc toString*(bytes: seq[byte]): string =
|
|
cast[string](bytes)
|
|
|
|
proc toBytes*(str: string): seq[byte] =
|
|
cast[seq[byte]](str)
|