C# Class hpack.HpackUtil

Exibir arquivo Open project: ringostarr80/hpack Class Usage Examples

Public Properties

Property Type Description
HUFFMAN_CODES int[]
HUFFMAN_CODE_LENGTHS byte[]
HUFFMAN_EOS int

Public Methods

Method Description
Equals ( byte s1, byte s2 ) : bool

A string compare that doesn't leak timing information.

RequireNonNull ( object obj ) : object

Checks that the specified object reference is not {@code null}.

Private Methods

Method Description
HpackUtil ( ) : System

Method Details

Equals() public static method

A string compare that doesn't leak timing information.
public static Equals ( byte s1, byte s2 ) : bool
s1 byte S1.
s2 byte S2.
return bool

RequireNonNull() public static method

Checks that the specified object reference is not {@code null}.
public static RequireNonNull ( object obj ) : object
obj object Object.
return object

Property Details

HUFFMAN_CODES public_oe static_oe property

public static int[] HUFFMAN_CODES
return int[]

HUFFMAN_CODE_LENGTHS public_oe static_oe property

public static byte[] HUFFMAN_CODE_LENGTHS
return byte[]

HUFFMAN_EOS public_oe static_oe property

public static int HUFFMAN_EOS
return int