- java.lang.Object
-
- de.ibapl.jnhw.common.memory.AbstractNativeMemory
-
- de.ibapl.jnhw.common.memory.OpaqueMemory32
-
- de.ibapl.jnhw.common.memory.NativeIntNumber
-
- de.ibapl.jnhw.common.memory.Uint8_t
-
- All Implemented Interfaces:
Native
public class Uint8_t extends NativeIntNumber
- Author:
- aploese
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
OpaqueMemory32.OpaqueMemory32Producer<T extends OpaqueMemory32,P extends AbstractNativeMemory>
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
AbstractNativeMemory.SetMem
-
-
Field Summary
Fields Modifier and Type Field Description static BaseDataTypeDATA_TYPE-
Fields inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
sizeInBytes
-
Fields inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
baseAddress, CLEANER, LOG, MEM_ACCESS, MEM_ACCESS_PROPERTY, NULL, parent
-
-
Constructor Summary
Constructors Constructor Description Uint8_t()Uint8_t(AbstractNativeMemory owner, long offset, AbstractNativeMemory.SetMem setMem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseDataTypegetBaseDataType()StringnativeToHexString()voidnativeToString(Appendable sb, String indentPrefix, String indent)byteuint8_t()voiduint8_t(byte value)shortuint8_t_AsShort()voiduint8_t_FromShort(short value)-
Methods inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
checkIndex, clear, copy, copy, equals, getByte, getSizeInBytes, hashCode, memset, nativeToString, printMemory, printMemory, setByte, setMemTo, toBytes, toString
-
Methods inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
calcOffsetForAlignment, getOffset, getSizeInBytes, isSameAddress, offsetof, toNativeAddressHolder, toUintptr_t, toUintptr_tOrNULL
-
-
-
-
Field Detail
-
DATA_TYPE
public static final BaseDataType DATA_TYPE
-
-
Constructor Detail
-
Uint8_t
public Uint8_t(AbstractNativeMemory owner, long offset, AbstractNativeMemory.SetMem setMem)
-
Uint8_t
public Uint8_t()
-
-
Method Detail
-
uint8_t
public byte uint8_t()
-
uint8_t_AsShort
public short uint8_t_AsShort()
-
uint8_t
public void uint8_t(byte value)
-
uint8_t_FromShort
public void uint8_t_FromShort(short value)
-
nativeToHexString
public String nativeToHexString()
-
nativeToString
public void nativeToString(Appendable sb, String indentPrefix, String indent) throws IOException
- Specified by:
nativeToStringin interfaceNative- Overrides:
nativeToStringin classOpaqueMemory32- Throws:
IOException
-
getBaseDataType
public BaseDataType getBaseDataType()
-
-