public interface NettyTransferSerialize
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
deserialize(InputStream input)
netty 将 InputStream 反序列成对象.
|
void |
serialize(OutputStream output,
Object object)
netty 将object序列化成 OutputStream.
|
void serialize(OutputStream output, Object object) throws IOException
output - OutputStreamobject - 对象IOException - io异常Object deserialize(InputStream input) throws IOException
input - 输出流IOException - io异常Copyright © 2019 dromara. All rights reserved.