diff --git a/bad_isp b/bad_isp new file mode 100644 index 0000000..9f266ce --- /dev/null +++ b/bad_isp @@ -0,0 +1 @@ +’¤testĄtest2 \ No newline at end of file diff --git a/bad_words b/bad_words new file mode 100644 index 0000000..9f266ce --- /dev/null +++ b/bad_words @@ -0,0 +1 @@ +’¤testĄtest2 \ No newline at end of file diff --git a/msgpack.java b/msgpack.java new file mode 100644 index 0000000..4f841d8 --- /dev/null +++ b/msgpack.java @@ -0,0 +1,17 @@ +import java.io.*; +import org.msgpack.MessagePack; + +public class MsgPack { + public static void main(String[] args) { + initialFile = new File("bad_words"); // or bad_isp + List al = new ArrayList(); + try (OutputStream outputStream = new FileOutputStream(initialFile)) { + al.add(0, "test"); + al.add(1, "test2"); + mp.write(outputStream, al); + + } catch (IOException e) { + e.printStackTrace(); + } + } +} \ No newline at end of file