Package org.fisco.bcos.sdk.abi.datatypes
Class Bytes
java.lang.Object
org.fisco.bcos.sdk.abi.datatypes.BytesType
org.fisco.bcos.sdk.abi.datatypes.Bytes
- All Implemented Interfaces:
Type<byte[]>
- Direct Known Subclasses:
Bytes1
,Bytes10
,Bytes11
,Bytes12
,Bytes13
,Bytes14
,Bytes15
,Bytes16
,Bytes17
,Bytes18
,Bytes19
,Bytes2
,Bytes20
,Bytes21
,Bytes22
,Bytes23
,Bytes24
,Bytes25
,Bytes26
,Bytes27
,Bytes28
,Bytes29
,Bytes3
,Bytes30
,Bytes31
,Bytes32
,Bytes4
,Bytes5
,Bytes6
,Bytes7
,Bytes8
,Bytes9
public class Bytes extends BytesType
Statically allocated sequence of bytes.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TYPE_NAME
Fields inherited from interface org.fisco.bcos.sdk.abi.datatypes.Type
MAX_BIT_LENGTH, MAX_BYTE_LENGTH
-
Constructor Summary
Constructors Constructor Description Bytes(int byteSize, byte[] value)
-
Method Summary
Modifier and Type Method Description boolean
dynamicType()
int
offset()
Methods inherited from class org.fisco.bcos.sdk.abi.datatypes.BytesType
equals, getTypeAsString, getValue, hashCode
-
Field Details
-
TYPE_NAME
public static final java.lang.String TYPE_NAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
Bytes
public Bytes(int byteSize, byte[] value)
-
-
Method Details
-
dynamicType
public boolean dynamicType()- Specified by:
dynamicType
in interfaceType<byte[]>
- Specified by:
dynamicType
in classBytesType
-
offset
public int offset()
-