static Uri ReadUri(PainlessBinaryReader reader) { string value = reader.ReadString(); return(new Uri(value)); }
static DateTimeOffset ReadDateTimeOffset(PainlessBinaryReader reader) { string value = reader.ReadString(); return(System.DateTimeOffset.Parse(value)); }