@Beta
public interface WritableObject
DataOutput. Classes implementing this
interface should declare a corresponding
public static CLASS readFrom(DataInput in) throws IOException;
The serialization format provided by this abstraction does not guarantee versioning. Callers are responsible for ensuring the source stream is correctly positioned.
| Modifier and Type | Method and Description |
|---|---|
void |
writeTo(@NonNull DataOutput out)
Serialize this object into a
DataOutput as a fixed-format stream. |
void writeTo(@NonNull DataOutput out) throws IOException
DataOutput as a fixed-format stream.out - Data outputIOException - if an I/O error occursNullPointerException - if out is nullCopyright © 2019 OpenDaylight. All rights reserved.