func toByteSeq(str: string): seq[byte] {...}{.inline, raises: [], tags: [].}
-
Converts a string to the corresponding byte sequence.
Source
Edit
func fromByteSeq(sequence: openArray[byte]): string {...}{.inline, raises: [],
tags: [].}
-
Converts a byte sequence to the corresponding string.
Source
Edit
func serialize(number: int64): array[8, byte] {...}{.inline, raises: [], tags: [].}
-
Serializes int64 to byte array.
Source
Edit
func serialize(number: int32): array[4, byte] {...}{.inline, raises: [], tags: [].}
-
Serializes int32 to byte array.
Source
Edit
func serialize(number: int16): array[2, byte] {...}{.inline, raises: [], tags: [].}
-
Serializes int16 to byte array.
Source
Edit
func escape(src: string): string {...}{.raises: [], tags: [].}
-
Source
Edit