Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Abi.ParamsOfDecodeMessageBody
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Abi.ParamsOfDecodeMessageBody
- Record Components:
abi
- Contract ABI used to decode.body
- Message body BOC encoded in `base64`.isInternal
- True if the body belongs to the internal message.allowPartial
- Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)functionName
- Function name or function id if is known in advance
- Enclosing class:
Abi
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfDecodeMessageBody
(Abi.ABI abi, String body, Boolean isInternal, Boolean allowPartial, String functionName, Abi.DataLayout dataLayout) Creates an instance of aParamsOfDecodeMessageBody
record class. -
Method Summary
Modifier and TypeMethodDescriptionabi()
Returns the value of theabi
record component.Returns the value of theallowPartial
record component.body()
Returns the value of thebody
record component.Returns the value of thedataLayout
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefunctionName
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of theisInternal
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ParamsOfDecodeMessageBody
public ParamsOfDecodeMessageBody(Abi.ABI abi, String body, Boolean isInternal, Boolean allowPartial, String functionName, Abi.DataLayout dataLayout) Creates an instance of aParamsOfDecodeMessageBody
record class.- Parameters:
abi
- the value for theabi
record componentbody
- the value for thebody
record componentisInternal
- the value for theisInternal
record componentallowPartial
- the value for theallowPartial
record componentfunctionName
- the value for thefunctionName
record componentdataLayout
- the value for thedataLayout
record component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
abi
-
body
-
isInternal
Returns the value of theisInternal
record component.- Returns:
- the value of the
isInternal
record component
-
allowPartial
Returns the value of theallowPartial
record component.- Returns:
- the value of the
allowPartial
record component
-
functionName
Returns the value of thefunctionName
record component.- Returns:
- the value of the
functionName
record component
-
dataLayout
Returns the value of thedataLayout
record component.- Returns:
- the value of the
dataLayout
record component
-