Namespace: Org.BouncyCastle.Crypto.Tls
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public static int NextTwoPow(
	int i
)
Visual Basic
Public Shared Function NextTwoPow ( _
	i As Integer _
) As Integer
Visual C++
public:
static int NextTwoPow(
	int i
)

Parameters

i
Type: System..::..Int32

Return Value

The smallest number which can be written as 2^x which is bigger than i.

See Also