OLD | NEW |
1 // WARNING: DO NOT EDIT. This file was generated by a program. | 1 // WARNING: DO NOT EDIT. This file was generated by a program. |
2 // See $MOJO_SDK/tools/bindings/mojom_bindings_generator.py. | 2 // See $MOJO_SDK/tools/bindings/mojom_bindings_generator.py. |
3 | 3 |
4 library echo_mojom; | 4 library echo_mojom; |
5 import 'dart:async'; | 5 import 'dart:async'; |
6 import 'dart:collection'; | 6 import 'dart:collection'; |
7 import 'dart:convert'; | 7 import 'dart:convert'; |
8 import 'dart:io'; | 8 import 'dart:io'; |
9 import 'dart:typed_data'; | 9 import 'dart:typed_data'; |
10 import 'package:mojo/bindings.dart' as bindings; | 10 import 'package:mojo/bindings.dart' as bindings; |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 | 400 |
401 Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() { | 401 Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() { |
402 return getRuntimeTypeInfo().typeMap; | 402 return getRuntimeTypeInfo().typeMap; |
403 } | 403 } |
404 | 404 |
405 var _runtimeTypeInfo; | 405 var _runtimeTypeInfo; |
406 mojom_types.RuntimeTypeInfo _initRuntimeTypeInfo() { | 406 mojom_types.RuntimeTypeInfo _initRuntimeTypeInfo() { |
407 // serializedRuntimeTypeInfo contains the bytes of the Mojo serialization of | 407 // serializedRuntimeTypeInfo contains the bytes of the Mojo serialization of |
408 // a mojom_types.RuntimeTypeInfo struct describing the Mojom types in this | 408 // a mojom_types.RuntimeTypeInfo struct describing the Mojom types in this |
409 // file. The string contains the base64 encoding of the gzip-compressed bytes. | 409 // file. The string contains the base64 encoding of the gzip-compressed bytes. |
410 var serializedRuntimeTypeInfo = "H4sIAAAJbogC/5JggAABKN0BpdHFLZD4jEDMAeXLALEIE
OfmZ+VbWaVWJOYW5KQWW1m5JmfkY1OvDMTSQBwSGeAa7+0aaQXSqAfTpwfThmG/Aw77STGPEaqfGUm/B
pRWgNIRjBC6AEozoNkPC4cZUHoBlP4PBRsYsAN0dytgCWd2JHFhIOYG4uDUorLM5FS/xNxUosKbB4hZg
BjGlwJiIah6LMGCEc6cQMwFxN5A7AzE+qXFRfo5+cmJOfrp+fnpOan6Gfm5qfqZiXk5+ZnJ+iWF+iCT9
YuLkvVhpuunAk0HE3oguVyi3I3uDhifBxpuuMIRPf5uQOkfTNjjDwYM0PiguMMmDgNC0HABuTe4pCgzL
x17+IHUMNEg/NDTC8yfLxiJ9x8IWODwHyydIPynW5RaWJpaXILdnzBAbX+ix68DjvLnAQNxgNh418Chn
xeIWYG4LDGnNBVHfIvSKBwYkNI+erhIILmREUk9rdOJNLRsQkknxQX5ecWpo+mEQDrRGETpBBAAAP//b
0avY/gHAAA="; | 410 var serializedRuntimeTypeInfo = "H4sIAAAJbogC/5JggAABKN0BpdHFLZD4jEDMAeXLALEIE
OfmZ+VbWaVWJOYW5KQWW1m5JmfkY1OvDMTSQBwSGeAa7+0aaQXSqAfTpwfThmG/Aw77STGPEaqfGUm/B
pRWgNIRjBC6AEozoNkPC4cZUHoBlP4PBRsYsAN0dytgCWd2JHFhIOYG4uDUorLM5FS/xNxUosKbB4hZg
BjGlwJiIah6LMGCEc6cQMwFxL4gM4BYv7S4SD8nPzkxRz89Pz89J1U/Iz83Vb+sJEe/oCg/KzW5pFgfZ
LZ+cVGyPsx8/VSg+WBCDySXS4S70d0B4/NAww1XOKLH3w0o/YMJe/zBgAEaHxR32MRhQAgaLiD3BpcUZ
ealYw8/kBomGoQfenqB+fMFI/H+AwELHP6DpROE/3SLUgtLU4tLsPsTBqjtT/T4dcBR/jxgIA4QG+8aO
PTzAjErEJcl5pSm4ohvURqFAwNS2kcPFwkkNzIiqad1OpGGlk0o6aS4ID+vOHU0nRBIJxqDKJ0AAgAA/
/8MY9/R+AcAAA=="; |
411 | 411 |
412 // Deserialize RuntimeTypeInfo | 412 // Deserialize RuntimeTypeInfo |
413 var bytes = BASE64.decode(serializedRuntimeTypeInfo); | 413 var bytes = BASE64.decode(serializedRuntimeTypeInfo); |
414 var unzippedBytes = new ZLibDecoder().convert(bytes); | 414 var unzippedBytes = new ZLibDecoder().convert(bytes); |
415 var bdata = new ByteData.view(unzippedBytes.buffer); | 415 var bdata = new ByteData.view(unzippedBytes.buffer); |
416 var message = new bindings.Message(bdata, null, unzippedBytes.length, 0); | 416 var message = new bindings.Message(bdata, null, unzippedBytes.length, 0); |
417 _runtimeTypeInfo = mojom_types.RuntimeTypeInfo.deserialize(message); | 417 _runtimeTypeInfo = mojom_types.RuntimeTypeInfo.deserialize(message); |
418 return _runtimeTypeInfo; | 418 return _runtimeTypeInfo; |
419 } | 419 } |
OLD | NEW |