Method | Description | |
---|---|---|
AddPaddingOptions ( string>.Dictionary |
Adds the necessary options for padding
|
|
ForwardProcessDataStream ( Stream inStream, Stream outStream, string>.Dictionary |
||
ReverseProcessDataStream ( Stream inStream, Stream outStream, string>.Dictionary |
Method | Description | |
---|---|---|
DataPadder ( ) : System |
public static AddPaddingOptions ( string>.Dictionary |
||
options | string>.Dictionary | The Dictionary to add the options to |
paddedSize | int | The size that the data section of the packet should be padded to. If throwExceptionOnNotEnoughPadding is true this must be at least the original data packet size plus four bytes |
paddingType | DataPaddingType | Determines whether the data is padded with zeros or random data |
throwExceptionOnNotEnoughPadding | bool | If true an |
return | void |
public ForwardProcessDataStream ( Stream inStream, Stream outStream, string>.Dictionary |
||
inStream | Stream | |
outStream | Stream | |
options | string>.Dictionary | |
writtenBytes | long | |
return | void |
public ReverseProcessDataStream ( Stream inStream, Stream outStream, string>.Dictionary |
||
inStream | Stream | |
outStream | Stream | |
options | string>.Dictionary | |
writtenBytes | long | |
return | void |