public interface Codec
| 限定符和类型 | 方法和说明 |
|---|---|
Frame |
read(CodecReader reader)
编码读取
|
<T extends CodecWriter> |
write(Frame frame,
Function<Integer,T> writerFactory)
解码写入
|
Frame read(CodecReader reader)
reader - 读取器<T extends CodecWriter> T write(Frame frame, Function<Integer,T> writerFactory) throws IOException
frame - 帧writerFactory - 书写器工厂IOExceptionCopyright © 2024. All rights reserved.