# Class: com.pnfsoftware.jeb.core.units.code.asm.processor.memory.VirtualEncodedMemoryArea

Represent a virtual area with a fixed value.

## Protected Constructor: VirtualEncodedMemoryArea
- parameter: `value`, type: `int`
- parameter: `length`, type: `int`


## Static Field: _0
Type: `com.pnfsoftware.jeb.core.units.code.asm.processor.memory.VirtualEncodedMemoryArea`
Description: Cached one\-bit value 0.

## Static Field: _00
Type: `com.pnfsoftware.jeb.core.units.code.asm.processor.memory.VirtualEncodedMemoryArea`
Description: Cached two\-bit value 0.

## Static Field: _000
Type: `com.pnfsoftware.jeb.core.units.code.asm.processor.memory.VirtualEncodedMemoryArea`
Description: Cached three\-bit value 0.

## Static Field: _0000
Type: `com.pnfsoftware.jeb.core.units.code.asm.processor.memory.VirtualEncodedMemoryArea`
Description: Cached four\-bit value 0.

## Static Field: _1
Type: `com.pnfsoftware.jeb.core.units.code.asm.processor.memory.VirtualEncodedMemoryArea`
Description: Cached one\-bit value 1.

## Static Field: _2
Type: `com.pnfsoftware.jeb.core.units.code.asm.processor.memory.VirtualEncodedMemoryArea`
Description: Cached two\-bit value 2.

## Static Field: _3
Type: `com.pnfsoftware.jeb.core.units.code.asm.processor.memory.VirtualEncodedMemoryArea`
Description: Cached two\-bit value 3.

## Static Field: _4
Type: `com.pnfsoftware.jeb.core.units.code.asm.processor.memory.VirtualEncodedMemoryArea`
Description: Cached three\-bit value 4.

## Static Field: _5
Type: `com.pnfsoftware.jeb.core.units.code.asm.processor.memory.VirtualEncodedMemoryArea`
Description: Cached three\-bit value 5.

## Method: decode
- parameter: `code`, type: `byte[]`
- return type: `long`


## Method: getLength
- return type: `int`


## Static Method: get
- parameter: `value`, type: `int`
- parameter: `length`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.processor.memory.VirtualEncodedMemoryArea`

Description: Build a [VirtualEncodedMemoryArea](VirtualEncodedMemoryArea).
parameter: value: fixed value
parameter: length: length in bits
return: encoded memory area

## Static Method: ones
- parameter: `length`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.processor.memory.VirtualEncodedMemoryArea`

Description: Build an all\-ones virtual encoded memory area.
parameter: length: length in bits
return: encoded memory area

## Static Method: zeros
- parameter: `length`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.processor.memory.VirtualEncodedMemoryArea`

Description: Build a zero\-valued virtual encoded memory area.
parameter: length: length in bits
return: encoded memory area

