Method
deserialize
(final byte[] serialized)
Source from the content-addressed store, hash-verified
| 13 | } |
| 14 | |
| 15 | public static Object deserialize(final byte[] serialized) throws IOException, ClassNotFoundException { |
| 16 | final ByteArrayInputStream in = new ByteArrayInputStream(serialized); |
| 17 | return deserialize(in); |
| 18 | } |
| 19 | |
| 20 | public static Object deserialize(final InputStream in) throws ClassNotFoundException, IOException { |
| 21 | final ObjectInputStream objIn = new ObjectInputStream(in); |
Tested by
no test coverage detected