Deserializes this ByteChunk, restoring the charset. @param ois the object input stream @throws ClassNotFoundException if the class is not found @throws IOException if an I/O error occurs
(ObjectInputStream ois)
| 162 | * @throws IOException if an I/O error occurs |
| 163 | */ |
| 164 | @Serial |
| 165 | private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IOException { |
| 166 | ois.defaultReadObject(); |
| 167 | this.charset = Charset.forName(ois.readUTF()); |
| 168 | } |
| 169 | |
| 170 | |
| 171 | @Override |