C# Class Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.Config

This class stores token tables and other configuration data used in the compression procedure.
Show file Open project: Microsoft/WindowsProtocolTestSuites

Public Properties

Property Type Description
tokenTableDis Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.Token[]

Public Methods

Method Description
getTokenDis ( int distance ) : Token

Get a match token according to the match distance.

getTokenLen ( int length ) : Token

Get a length token according to the match length.

Method Details

getTokenDis() public static method

Get a match token according to the match distance.
public static getTokenDis ( int distance ) : Token
distance int The distance here means the needed bytes backward.
return Token

getTokenLen() public static method

Get a length token according to the match length.
public static getTokenLen ( int length ) : Token
length int The length here means the number of bytes to be copied.
return Token

Property Details

tokenTableDis public static property

The table of all the huffman symbols, sorted by prefix length.
public static Token[],Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc tokenTableDis
return Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.Token[]