diff options
| author | F001 <changchun.fan@qq.com> | 2018-12-12 17:43:42 +0800 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-12-12 04:43:42 -0500 |
| commit | e976b3e0414dc768624b77e431ee7f55b03b76a4 (patch) | |
| tree | 7996df0a824af4875e19d92d916a4eee14567bb0 /src/msg.fbs | |
| parent | 65dd0d516d14ff0ec5ec37513efc10b7882172e6 (diff) | |
use byte array instead of string for code fetch (#1307)
Diffstat (limited to 'src/msg.fbs')
| -rw-r--r-- | src/msg.fbs | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/msg.fbs b/src/msg.fbs index e1c90e3ad..8e333a114 100644 --- a/src/msg.fbs +++ b/src/msg.fbs @@ -157,18 +157,16 @@ table CodeFetchRes { module_name: string; filename: string; media_type: MediaType; - // TODO These should be [ubyte]. - // See: https://github.com/denoland/deno/issues/1113 - source_code: string; - output_code: string; // Non-empty only if cached. - source_map: string; // Non-empty only if cached. + source_code: [ubyte]; + output_code: [ubyte]; // Non-empty only if cached. + source_map: [ubyte]; // Non-empty only if cached. } table CodeCache { filename: string; - source_code: string; - output_code: string; - source_map: string; + source_code: [ubyte]; + output_code: [ubyte]; + source_map: [ubyte]; } table Chdir { |
