Package cn.sliew.milky.common.io.stream
Interface Writable
-
- All Known Subinterfaces:
Streamable
public interface Writabletodo 如果使用它作为transport层的传输对象,则无法嵌入自定义的协议
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceWritable.Writer<V>
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwriteTo(StreamOutput out)Write this object's fields to a StreamOutput.
-
-
-
Method Detail
-
writeTo
void writeTo(StreamOutput out) throws IOException
Write this object's fields to a StreamOutput.- Throws:
IOException
-
-