com.github.ltsopensource.nio.codec.FrameDecoder Maven / Gradle / Ivy
package com.github.ltsopensource.nio.codec;
import com.github.ltsopensource.nio.channel.NioChannel;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.List;
/**
* @author Robert HG ([email protected]) on 2/16/16.
*/
public abstract class FrameDecoder implements Decoder {
private static final int MESSAGE_LENGTH_HEAD = 4;
@Override
public List