MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / writeExternal

Method writeExternal

serialization/Blip3.java:22–28  ·  view source on GitHub ↗
(ObjectOutput out)

Source from the content-addressed store, hash-verified

20 }
21 @Override public String toString() { return s + i; }
22 @Override public void writeExternal(ObjectOutput out)
23 throws IOException {
24 System.out.println("Blip3.writeExternal");
25 // You must do this:
26 out.writeObject(s);
27 out.writeInt(i);
28 }
29 @Override public void readExternal(ObjectInput in)
30 throws IOException, ClassNotFoundException {
31 System.out.println("Blip3.readExternal");

Callers

nothing calls this directly

Calls 1

writeObjectMethod · 0.80

Tested by

no test coverage detected