2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-12-14 00:40:26 +00:00

Async serialization

This commit is contained in:
2025-11-04 11:47:40 +03:00
parent a764b452e2
commit fc943c8a36
10 changed files with 717 additions and 119 deletions

View File

@@ -194,6 +194,9 @@ namespace Esiur.Data
if (Identifier == TRUIdentifier.TypedList && SubTypes[0].Identifier == TRUIdentifier.UInt8)
return false;
if (Identifier == TRUIdentifier.TypedResource)
return false;
return (UUID != null) || (SubTypes != null && SubTypes.Length > 0);
}
@@ -234,6 +237,7 @@ namespace Esiur.Data
SubTypes[0].Compose().Concat(SubTypes[1].Compose()).ToArray());
case TRUIdentifier.Enum:
return (TDUIdentifier.TypedEnum, UUID?.Data);
default:
throw new NotImplementedException();