2
0
mirror of https://github.com/esiur/esiur-js.git synced 2025-05-06 12:32:58 +00:00

Uint8Array

This commit is contained in:
Ahmed Zamil 2024-11-28 22:34:02 +03:00
parent e05c729cd3
commit dcc33d7394

View File

@ -84,6 +84,7 @@ IdentifierToTypeMap[RepresentationTypeIdentifier.List] = Array;
IdentifierToTypeMap[RepresentationTypeIdentifier.Map] = Map; IdentifierToTypeMap[RepresentationTypeIdentifier.Map] = Map;
IdentifierToTypeMap[RepresentationTypeIdentifier.ResourceArray] = ResourceArray; IdentifierToTypeMap[RepresentationTypeIdentifier.ResourceArray] = ResourceArray;
IdentifierToTypeMap[RepresentationTypeIdentifier.RecordArray] = RecordArray; IdentifierToTypeMap[RepresentationTypeIdentifier.RecordArray] = RecordArray;
IdentifierToTypeMap[RepresentationTypeIdentifier.RawData] = Uint8Array;
const TypeToIdentifierMap = {}; const TypeToIdentifierMap = {};
TypeToIdentifierMap[Void] = RepresentationTypeIdentifier.Void; TypeToIdentifierMap[Void] = RepresentationTypeIdentifier.Void;
@ -112,6 +113,7 @@ TypeToIdentifierMap[Array] = RepresentationTypeIdentifier.List;
TypeToIdentifierMap[Map] = RepresentationTypeIdentifier.Map; TypeToIdentifierMap[Map] = RepresentationTypeIdentifier.Map;
TypeToIdentifierMap[RecordArray] = RepresentationTypeIdentifier.RecordArray; TypeToIdentifierMap[RecordArray] = RepresentationTypeIdentifier.RecordArray;
TypeToIdentifierMap[ResourceArray] = RepresentationTypeIdentifier.ResourceArray; TypeToIdentifierMap[ResourceArray] = RepresentationTypeIdentifier.ResourceArray;
TypeToIdentifierMap[Uint8Array] = RepresentationTypeIdentifier.RawData;
const TupleIdentifierByLength = { const TupleIdentifierByLength = {
2: RepresentationTypeIdentifier.Tuple2, 2: RepresentationTypeIdentifier.Tuple2,