@Override
	public void write(ChannelHandlerContext ctx, Object data) {
		@SuppressWarnings("unchecked")
		List<ByteBuffer> buffs = this.encoder.doEncode(ctx, (E) data);
		for (ByteBuffer buff : buffs) {
			super.write(ctx, buff);
		}
	}