Support DataOutput

This commit is contained in:
Andrea Cavalli 2021-01-26 23:01:52 +01:00
parent 1bbad278e8
commit 50491a5a20
2 changed files with 2 additions and 1 deletions

View File

@ -683,7 +683,7 @@ def main(input_path: str, output_path: str, headers_path: str):
output.newline()
output.indent()
output.open_function("serialize", [("DataOutputStream", "output")], "void", "IOException")
output.open_function("serialize", [("DataOutput", "output")], "void", "IOException")
output.newline()
output.indent()

View File

@ -1,4 +1,5 @@
import java.io.ByteArrayOutputStream;
import java.io.DataOutput;
import java.io.DataOutputStream;
import java.io.InputStream;
import java.nio.charset.StandardCharsets;