ScriptBuf class

Bitcoin script.

Constructors

ScriptBuf.new({required Uint8List bytes})
ScriptBuf constructor

Properties

bytes Uint8List
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asString() String
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

empty() Future<ScriptBuf>
Creates a new empty script.
fromHex(String s) Future<ScriptBuf>
Creates a ScriptBuf from a hex string.
withCapacity(BigInt capacity) Future<ScriptBuf>
Creates a new empty script with pre-allocated capacity.