Skip to content

Commit e261620

Browse files
committed
Update README.md: Add note about boolean type cast
1 parent a948a14 commit e261620

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ var result = bencode.encode( data )
9191

9292
```
9393

94+
**NOTE** As of `[email protected]`, boolean values will be cast to integers (false -> 0, true -> 1).
95+
9496
#### Output
9597

9698
```

0 commit comments

Comments
 (0)