cvjcompress.h

来自「PPP协议的实现演示」· C头文件 代码 · 共 44 行

H
44
字号
/***************************************************************************                          cvjcompress.h  -  description                             -------------------    begin                : Wed Jun 6 2001    copyright            : (C) 2001 by stephane (birdy57)  &  Nicolas Jouanne    email                : birdy57@multimania.com ***************************************************************************/// Fichier original birdy57 + vjcompess de la rfc 1144// Modifier par Nicolas Jouanne pour une meilleur implementation au C++// (restructuration des source de la rfc1144 du c vers le C++)// et deboguage de l'enssemble !!/*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************/#ifndef CVJCOMPRESS_H#define CVJCOMPRESS_H#include "globals.h"#include "vjcompress.h"#include "ctcpipheader.h"/**Compression et decompression VJ  *@author stephane (birdy57)  */class CVjcompress {  public:    CVjcompress();    ~CVjcompress();  /** Decompresse une trame */    unsigned short Deflate(char *sBuffer, int nLen);  /** Compress une trame TCP/IP */    int Compress(char *sBuffer, int nLon);  /** Reduit l'entete 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?