Method
createFromDataInputStream
(DataInputStream inputStream)
Source from the content-addressed store, hash-verified
| 208 | } |
| 209 | |
| 210 | public static UserKey createFromDataInputStream(DataInputStream inputStream) throws IOException { |
| 211 | UserKey u = new UserKey(); |
| 212 | u.command_id = inputStream.readInt(); |
| 213 | u.modificator = inputStream.readBoolean(); |
| 214 | u.key = inputStream.readInt(); |
| 215 | return u; |
| 216 | } |
| 217 | |
| 218 | public void saveMyToDataOutputStream(DataOutputStream outputStream) { |
| 219 | try { |
Tested by
no test coverage detected