Skip to content

Commit 8efc453

Browse files
committed
Updated documentation
1 parent 5ac493b commit 8efc453

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ Method | Description
6666
**`pushAll(values: Array<bit>)`** | Pushes a an array of bits onto the array
6767
**`push(value: bit)`** | Pushes a single bit onto the array
6868
**`atIndex(index: number)`** | Gets the bit at a given index.
69-
**`atIndexRange(index: number, count: number)`** | Gets count bits at a given index
69+
**`atIndexRange(index: number, count?: number)`** | Gets count bits at a given index. If count is null, the range goes to the end of the array
70+
**`set(index: number, value: bit)`** | Sets a specified bit at an index of the array
7071

7172
#### Properties
7273
Property | Description
@@ -82,3 +83,7 @@ Initial release
8283
- `atIndexRange(index: number, count: number)`
8384
- `size`
8485

86+
### 1.1.0
87+
Added method set and made count parameter optional for atIndexRange
88+
- `set(index: number, value: bit)`
89+
- `atIndexRange(index: number, count?: number)`

0 commit comments

Comments
 (0)