MCPcopy Index your code
hub / github.com/0linlin0/CyberBox / serialize

Method serialize

Skay_Exp/src/tools/Serializer.java:19–23  ·  view source on GitHub ↗
(final Object obj)

Source from the content-addressed store, hash-verified

17 }
18
19 public static byte[] serialize(final Object obj) throws IOException {
20 final ByteArrayOutputStream out = new ByteArrayOutputStream();
21 serialize(obj, out);
22 return out.toByteArray();
23 }
24
25 public static void serialize(final Object obj, final OutputStream out) throws IOException {
26 final ObjectOutputStream objOut = new ObjectOutputStream(out);

Callers 3

callMethod · 0.95
testMethod · 0.95
executionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected