public interface Binarylizable
This interface, in a way, is analogous to
interface, which allows users to override default serialization logic,
usually for performance reasons. The only difference here is that binary
serialization is already very fast and implementing custom serialization
logic for binary does not provide significant performance gains.
void writeBinary(BinaryWriter writer) throws BinaryObjectException
writer- Binary object writer.
BinaryObjectException- In case of error.