BitSharper.Script.Script C# (CSharp) Method

Script() public method

Construct a Script using the given network parameters and a range of the programBytes array.
public Script ( NetworkParameters @params, byte programBytes, int offset, int length ) : System
@params NetworkParameters
programBytes byte Array of program bytes from a transaction.
offset int How many bytes into programBytes to start reading from.
length int How many bytes to read.
return System
        public Script(NetworkParameters @params, byte[] programBytes, int offset, int length)
        {
            _params = @params;
            Parse(programBytes, offset, length);
        }