Asn1ReaderSeek Method

Moves to a specified start offset.

Definition

Namespace: SysadminsLV.Asn1Parser
Assembly: SysadminsLV.Asn1Parser (in SysadminsLV.Asn1Parser.dll) Version: 1.2.11
C#
public bool Seek(
	int newPosition
)

Parameters

newPosition  Int32
ASN structure start position (offset).

Return Value

Boolean
True if specified offset is valid and pointer was successfully set to specified position, otherwise False.

Remarks

Specified position validity is determined based on internal map and BuildOffsetMap method must be called prior to first call of this method. Subsequent BuildOffsetMap method calls are not necessary.

See Also