send-receive-128.json 949 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. [
  2. {
  3. "function": "get_resource_type",
  4. "params": [
  5. "@mock-stream"
  6. ],
  7. "return": "stream"
  8. },
  9. {
  10. "function": "fwrite",
  11. "params": [
  12. "@mock-stream"
  13. ],
  14. "return": 132
  15. },
  16. {
  17. "function": "get_resource_type",
  18. "params": [
  19. "@mock-stream"
  20. ],
  21. "return": "stream"
  22. },
  23. {
  24. "function": "fread",
  25. "params": [
  26. "@mock-stream",
  27. 2
  28. ],
  29. "return-op": "chr-array",
  30. "return": [129, 126]
  31. },
  32. {
  33. "function": "fread",
  34. "params": [
  35. "@mock-stream",
  36. 2
  37. ],
  38. "return-op": "chr-array",
  39. "return": [0, 128]
  40. },
  41. {
  42. "function": "fread",
  43. "params": [
  44. "@mock-stream",
  45. 128
  46. ],
  47. "return-op": "file",
  48. "return": ["payload.128.txt", 0, 132]
  49. }
  50. ]