Gets the length of the encoded instruction.

Namespace: SharpAssembler.x86
Assembly: SharpAssembler x86-64 (in SharpAssembler x86-64.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public int GetLength()
Visual Basic
Public Function GetLength As Integer
Visual C++
public:
virtual int GetLength() sealed

Return Value

The length of the encoded instruction, in bytes.

Implements

IEmittable..::..GetLength()()()()

Contracts

Ensures
Contract.Result<int>() >= 0
Contract.Result<int>() >= 0
Inherited From: IEmittable

See Also