Skip to content

Commit

Permalink
Remove redundant type casting functions
Browse files Browse the repository at this point in the history
  • Loading branch information
xhliu committed Jan 16, 2020
1 parent 0ce5390 commit fb3eb82
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions docs/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,3 @@ bytes Operations

Returns the length of ``b``.


Type Casting
============
Explicit type cast is mandated to convert a general ``bytes`` type to a more specific type.

* ``PubKey PubKey(bytes b)``
* ``Ripemd160 Ripemd160(bytes b)``
* ``Sha1 Sha1(bytes b)``
* ``Sha256 Sha256(bytes b)``
* ``Sig Sig(bytes b)``

0 comments on commit fb3eb82

Please sign in to comment.