Class ByteCode
- java.lang.Object
-
- com.casper.sdk.model.entity.contract.ByteCode
-
public class ByteCode extends java.lang.ObjectA container for contract's Wasm bytes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classByteCode.ByteCodeBuilderstatic classByteCode.ByteCodes
-
Constructor Summary
Constructors Constructor Description ByteCode()ByteCode(ByteCode.ByteCodes kind, java.lang.String bytes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ByteCode.ByteCodeBuilderbuilder()java.lang.StringgetBytes()Byte codeByteCode.ByteCodesgetKind()The type of Byte codevoidsetBytes(java.lang.String bytes)Byte codevoidsetKind(ByteCode.ByteCodes kind)The type of Byte code
-
-
-
Constructor Detail
-
ByteCode
public ByteCode(ByteCode.ByteCodes kind, java.lang.String bytes)
-
ByteCode
public ByteCode()
-
-
Method Detail
-
builder
public static ByteCode.ByteCodeBuilder builder()
-
getKind
public ByteCode.ByteCodes getKind()
The type of Byte code
-
getBytes
public java.lang.String getBytes()
Byte code
-
setKind
public void setKind(ByteCode.ByteCodes kind)
The type of Byte code
-
setBytes
public void setBytes(java.lang.String bytes)
Byte code
-
-