Class BytesBlock
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.processor.BytesBlock
Represent a block of bytes, with support for byte ordering within byte groups of 16- 32- or
64-bits.
-
Constructor Summary
ConstructorsConstructorDescriptionBytesBlock
(byte[] code) Create a block of ungrouped bytes.BytesBlock
(byte[] code, Endianness endianness, int groupSize) Create a block. -
Method Summary
-
Constructor Details
-
BytesBlock
public BytesBlock(byte[] code) Create a block of ungrouped bytes.- Parameters:
code
-
-
BytesBlock
Create a block.- Parameters:
code
- bytesendianness
- order which should be used to read codegroupSize
- byte size to consider to swap between BE and LE (2 for 16bits swap, 4 for 32bits swap...)
-
-
Method Details