PersonalMessage
type PersonalMessage
A personal message that wraps around a byte array.
type PersonalMessage struct {
// contains filtered or unexported fields
}
func LiftFromExternalPersonalMessage
func LiftFromExternalPersonalMessage(handle uint64) *PersonalMessage
func NewPersonalMessage
func NewPersonalMessage(messageBytes []byte) *PersonalMessage
Create a new personal message from bytes.
func (*PersonalMessage) DebugString
func (_self *PersonalMessage) DebugString() string
func (*PersonalMessage) Destroy
func (object *PersonalMessage) Destroy()
func (*PersonalMessage) Eq
func (_self *PersonalMessage) Eq(other *PersonalMessage) bool
func (*PersonalMessage) MessageBytes
func (_self *PersonalMessage) MessageBytes() []byte
Get the message as bytes.
func (*PersonalMessage) Ne
func (_self *PersonalMessage) Ne(other *PersonalMessage) bool
func (*PersonalMessage) SigningDigest
func (_self *PersonalMessage) SigningDigest() []byte
Get the signing digest as bytes.
func (*PersonalMessage) SigningDigestHex
func (_self *PersonalMessage) SigningDigestHex() string
Get the signing digest as hex string.
func (*PersonalMessage) ToDisplayString
func (_self *PersonalMessage) ToDisplayString() string
Render this type as human-readable text.
Some types also print this through the binding's native string conversion; this method is the spelling every object type has.
The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.