mirror of
https://github.com/esiur/esiur-js.git
synced 2025-05-06 04:22:58 +00:00
Uint8Array
This commit is contained in:
parent
e05c729cd3
commit
dcc33d7394
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user