send-receive-multi-fragment.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. [
  2. {
  3. "function": "get_resource_type",
  4. "params": [
  5. "@mock-stream"
  6. ],
  7. "return": "stream"
  8. },
  9. {
  10. "function": "fwrite",
  11. "params": [],
  12. "return": 14
  13. },
  14. {
  15. "function": "fwrite",
  16. "params": [],
  17. "return": 14
  18. },
  19. {
  20. "function": "fwrite",
  21. "params": [],
  22. "return": 9
  23. },
  24. {
  25. "function": "get_resource_type",
  26. "params": [
  27. "@mock-stream"
  28. ],
  29. "return": "stream"
  30. },
  31. {
  32. "function": "fread",
  33. "params": [
  34. "@mock-stream",
  35. 2
  36. ],
  37. "return-op": "chr-array",
  38. "return": [1, 136]
  39. },
  40. {
  41. "function": "fread",
  42. "params": [
  43. "@mock-stream",
  44. 4
  45. ],
  46. "return-op": "chr-array",
  47. "return": [105, 29, 187, 18]
  48. },
  49. {
  50. "function": "fread",
  51. "params": [
  52. "@mock-stream",
  53. 8
  54. ],
  55. "return-op": "chr-array",
  56. "return": [36, 104, 215, 102, 0, 61, 221, 96]
  57. },
  58. {
  59. "function": "fread",
  60. "params": [
  61. "@mock-stream",
  62. 2
  63. ],
  64. "return-op": "chr-array",
  65. "return": [0, 136]
  66. },
  67. {
  68. "function": "fread",
  69. "params": [
  70. "@mock-stream",
  71. 4
  72. ],
  73. "return-op": "chr-array",
  74. "return": [221, 240, 46, 69]
  75. },
  76. {
  77. "function": "fread",
  78. "params": [
  79. "@mock-stream",
  80. 8
  81. ],
  82. "return-op": "chr-array",
  83. "return": [188, 151, 67, 32, 179, 132, 14, 49]
  84. },
  85. {
  86. "function": "fread",
  87. "params": [
  88. "@mock-stream",
  89. 2
  90. ],
  91. "return-op": "chr-array",
  92. "return": [128, 131]
  93. },
  94. {
  95. "function": "fread",
  96. "params": [
  97. "@mock-stream",
  98. 4
  99. ],
  100. "return-op": "chr-array",
  101. "return": [9, 60, 117, 193]
  102. },
  103. {
  104. "function": "fread",
  105. "params": [
  106. "@mock-stream",
  107. 3
  108. ],
  109. "return-op": "chr-array",
  110. "return": [108, 79, 1]
  111. }
  112. ]