public class Bytes<T extends Bytes<T>> extends com.u7.jthereum.types.BytesOrInt<Bytes<T>>
Modifier | Constructor and Description |
---|---|
|
Bytes() |
|
Bytes(java.math.BigInteger _value) |
|
Bytes(byte _value) |
|
Bytes(byte[] _value) |
|
Bytes(com.u7.jthereum.types.BytesOrInt _value) |
|
Bytes(int _value) |
protected |
Bytes(int nBytes,
com.u7.jthereum.types.BytesOrInt _value) |
|
Bytes(long _value) |
|
Bytes(short _value) |
|
Bytes(String _value) |
Modifier and Type | Method and Description |
---|---|
byte |
andEquals(com.u7.jthereum.types.BaseInt index,
com.u7.jthereum.types.BaseInt value) |
byte |
andEquals(com.u7.jthereum.types.BaseInt index,
byte value) |
byte |
andEquals(int index,
com.u7.jthereum.types.BaseInt value) |
byte |
andEquals(int index,
byte value) |
byte |
get(com.u7.jthereum.types.BaseInt index) |
byte |
get(int index) |
byte[] |
getBytes() |
Uint256 |
getLength() |
protected int |
getTypeByteLength() |
boolean |
greaterThan(Bytes other) |
boolean |
isFixedLength() |
boolean |
isZero() |
boolean |
lessThan(Bytes other) |
byte |
orEquals(com.u7.jthereum.types.BaseInt index,
byte value) |
byte |
orEquals(com.u7.jthereum.types.BaseInt index,
com.u7.jthereum.types.BytesOrInt value) |
byte |
orEquals(byte value) |
byte |
orEquals(com.u7.jthereum.types.BytesOrInt value) |
byte |
orEquals(int value) |
byte |
orEquals(int index,
byte value) |
byte |
orEquals(int index,
com.u7.jthereum.types.BytesOrInt value) |
byte |
put(com.u7.jthereum.types.BaseInt index,
com.u7.jthereum.types.BaseInt value) |
byte |
put(com.u7.jthereum.types.BaseInt index,
byte value) |
byte |
put(int index,
com.u7.jthereum.types.BaseInt value) |
byte |
put(int index,
byte value) |
void |
setValue(java.math.BigInteger _value) |
void |
setValue(byte[] _value) |
void |
setValue(int _value) |
void |
setValue(long _value) |
void |
setValue(String _value) |
String |
toString() |
static Bytes |
valueOf(java.math.BigInteger o) |
static Bytes |
valueOf(Byte o) |
static Bytes |
valueOf(byte[] o) |
static Bytes |
valueOf(com.u7.jthereum.types.BytesOrInt o) |
static Bytes |
valueOf(Integer o) |
static Bytes |
valueOf(Long o) |
static Bytes |
valueOf(Short o) |
static Bytes |
valueOf(String o) |
byte |
xorEquals(com.u7.jthereum.types.BaseInt index,
com.u7.jthereum.types.BaseInt value) |
byte |
xorEquals(com.u7.jthereum.types.BaseInt index,
byte value) |
byte |
xorEquals(int index,
com.u7.jthereum.types.BaseInt value) |
byte |
xorEquals(int index,
byte value) |
asBytes1, asBytes10, asBytes11, asBytes12, asBytes13, asBytes14, asBytes15, asBytes16, asBytes17, asBytes18, asBytes19, asBytes2, asBytes20, asBytes21, asBytes22, asBytes23, asBytes24, asBytes25, asBytes26, asBytes27, asBytes28, asBytes29, asBytes3, asBytes30, asBytes31, asBytes32, asBytes4, asBytes5, asBytes6, asBytes7, asBytes8, asBytes9, asInt104, asInt112, asInt120, asInt128, asInt136, asInt144, asInt152, asInt16, asInt160, asInt168, asInt176, asInt184, asInt192, asInt200, asInt208, asInt216, asInt224, asInt232, asInt24, asInt240, asInt248, asInt256, asInt32, asInt40, asInt48, asInt56, asInt64, asInt72, asInt8, asInt80, asInt88, asInt96, asUint, asUint104, asUint112, asUint120, asUint128, asUint136, asUint144, asUint152, asUint16, asUint160, asUint168, asUint176, asUint184, asUint192, asUint200, asUint208, asUint216, asUint224, asUint232, asUint24, asUint240, asUint248, asUint256, asUint32, asUint40, asUint48, asUint56, asUint64, asUint72, asUint8, asUint80, asUint88, asUint96, setValue
public static final Bytes ZERO
public Bytes()
public Bytes(java.math.BigInteger _value)
public Bytes(byte _value)
public Bytes(byte[] _value)
public Bytes(com.u7.jthereum.types.BytesOrInt _value)
public Bytes(int _value)
protected Bytes(int nBytes, com.u7.jthereum.types.BytesOrInt _value)
public Bytes(long _value)
public Bytes(short _value)
public Bytes(String _value)
public byte andEquals(com.u7.jthereum.types.BaseInt index, com.u7.jthereum.types.BaseInt value)
public byte andEquals(com.u7.jthereum.types.BaseInt index, byte value)
public byte andEquals(int index, com.u7.jthereum.types.BaseInt value)
public byte andEquals(int index, byte value)
public byte get(com.u7.jthereum.types.BaseInt index)
public byte get(int index)
public byte[] getBytes()
public Uint256 getLength()
protected int getTypeByteLength()
public boolean greaterThan(Bytes other)
public boolean isFixedLength()
public boolean isZero()
public boolean lessThan(Bytes other)
public byte orEquals(com.u7.jthereum.types.BaseInt index, byte value)
public byte orEquals(com.u7.jthereum.types.BaseInt index, com.u7.jthereum.types.BytesOrInt value)
public byte orEquals(byte value)
public byte orEquals(com.u7.jthereum.types.BytesOrInt value)
public byte orEquals(int value)
public byte orEquals(int index, byte value)
public byte orEquals(int index, com.u7.jthereum.types.BytesOrInt value)
public byte put(com.u7.jthereum.types.BaseInt index, com.u7.jthereum.types.BaseInt value)
public byte put(com.u7.jthereum.types.BaseInt index, byte value)
public byte put(int index, com.u7.jthereum.types.BaseInt value)
public byte put(int index, byte value)
public void setValue(java.math.BigInteger _value)
public void setValue(byte[] _value)
public void setValue(int _value)
public void setValue(long _value)
public void setValue(String _value)
public String toString()
toString
in class Object
public static Bytes valueOf(java.math.BigInteger o)
public static Bytes valueOf(Byte o)
public static Bytes valueOf(byte[] o)
public static Bytes valueOf(com.u7.jthereum.types.BytesOrInt o)
public static Bytes valueOf(Integer o)
public static Bytes valueOf(Long o)
public static Bytes valueOf(Short o)
public static Bytes valueOf(String o)
public byte xorEquals(com.u7.jthereum.types.BaseInt index, com.u7.jthereum.types.BaseInt value)
public byte xorEquals(com.u7.jthereum.types.BaseInt index, byte value)
public byte xorEquals(int index, com.u7.jthereum.types.BaseInt value)
public byte xorEquals(int index, byte value)