src/mutf8

Search:
Group by:
Source   Edit  

Types

ModifiedUnicodeDecodeError = object of CatchableError
Source   Edit  

Procs

func decodeMutf8(s: openArray[byte]): string {.
    ...raises: [ModifiedUnicodeDecodeError], tags: [], forbids: [].}
Decodes a byte array to standard UTF-8 (in a Nim string). Source   Edit  
func encodeMutf8(u: string): seq[byte] {....raises: [], tags: [], forbids: [].}
Encodes a strin into Modified UTF-8. Source   Edit