MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / serialize

Method serialize

src/main/java/Client/Msg.java:135–140  ·  view source on GitHub ↗
(DataOutputStream os)

Source from the content-addressed store, hash-verified

133 public boolean isPresence() { return messageType==MESSAGE_TYPE_PRESENCE; }
134
135 public void serialize(DataOutputStream os) throws IOException {
136 os.writeUTF(from);
137 os.writeUTF(body);
138 os.writeLong(dateGmt);
139 if (subject!=null) os.writeUTF(subject);
140 }
141
142 public Msg (DataInputStream is) throws IOException {
143 from=is.readUTF();

Callers 1

storeMethod · 0.80

Calls 1

writeUTFMethod · 0.80

Tested by

no test coverage detected