FileMap прошел тесты! =)

25.10.2013, 12:11, "Fedor S. Lavrentyev" <notifications@github.com>:
> In src/ru/fizteh/fivt/students/abramova/filemap/FileMap.java:
>
>> + } > + } > + > + private void writing(Map<String, String> fileMap, BufferedOutputStream writer) throws IOException { > + int keyLen; > + int valueLen; > + byte[] key; > + byte[] value; > + Set<String> keys = fileMap.keySet(); > + for (String keyString : keys) { > + key = keyString.getBytes(); > + value = fileMap.get(keyString).getBytes(); > + keyLen = key.length; > + valueLen = value.length; > + try { > + writer.write(keyLen);
>
> Аналогично, здесь нужно использовать DataOutputStream:
> http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html
>
> —
> Reply to this email directly or view it on GitHub.