Skip to content

Commit 05032b0

Browse files
committed
.
1 parent 8b0aedd commit 05032b0

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

docs/packages/data/Bytes.json

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -519,35 +519,6 @@
519519
"PerfBytesBytes32ToBytes"
520520
]
521521
]
522-
},{
523-
"name": "toBytes",
524-
"desc": "Create a new `bytes memory` from a boolean.",
525-
"visibility": "internal",
526-
"qualifier": "pure",
527-
"inParams": [
528-
{
529-
"name": "self",
530-
"type": "bool",
531-
"desc": "The source boolean."
532-
}
533-
],
534-
"outParams": [
535-
{
536-
"type": "bytes",
537-
"refType": "memory",
538-
"desc": "The boolean as a `bytes memory`. Note that the bytes array will be of length 1."
539-
}
540-
],
541-
"ensures": [
542-
"`bts = self.toBytes() => bts.length = 1`.",
543-
"`bts = self.toBytes() => if self == true: bts = [1], else bts = [0]."
544-
],
545-
"gas": [
546-
[
547-
"Fixed",
548-
"PerfBytesBooleanToBytes"
549-
]
550-
]
551522
},{
552523
"name": "highestByteSet",
553524
"desc": "Calculates the index of the highest non-zero byte in a `bytes32`. Note that bytes uses big endian ordering (the most significant byte is the lowest).",

0 commit comments

Comments
 (0)