| 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.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
BytesBlock(byte[] code)
Create a block of ungrouped bytes.
| |||||||||||
|
BytesBlock(byte[] code, Endianness endianness, int groupSize)
Create a block.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | equals(Object obj) | ||||||||||
| byte[] | getBECode() | ||||||||||
| byte[] | getCode() | ||||||||||
| byte[] | getCode(ByteOrder byteOrder) | ||||||||||
| byte[] | getLECode() | ||||||||||
| int | hashCode() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Create a block of ungrouped bytes.
Create a block.
| code | bytes |
|---|---|
| endianness | order which should be used to read code |
| groupSize | byte size to consider to swap between BE and LE (2 for 16bits swap, 4 for 32bits swap...) |