Skip to content

Peakable - #2

Open
deavmi wants to merge 9 commits into
masterfrom
feature/peekable
Open

Peakable#2
deavmi wants to merge 9 commits into
masterfrom
feature/peekable

Conversation

@deavmi

@deavmi deavmi commented Jun 3, 2023

Copy link
Copy Markdown
Owner
  • Added new interface
  • A stream which implements Peakable means that one can do a read in a manner which copies the length of data requested into a buffer but without removing it from the Stream's underlying buffer

- Added new interface
- A stream which implements `Peakable` means that one can do a read in a manner which copies the length of data requested into a buffer but without removing it from the `Stream`'s underlying buffer
@deavmi deavmi added the enhancement New feature or request label Jun 3, 2023
@deavmi deavmi self-assigned this Jun 3, 2023
deavmi added 8 commits June 3, 2023 12:14
- Defined the method `peak(byte[])
- Documented module
- Publically import the `Peakable` interface
- Added new `peakFully(byte[])` method as part of the `Peakable` interface
- Added implementation of `peak(byte[])` and `peakFully(byte[])`

Unit tests

- Added a work-in-progress test of `peak(byte[])`
- Renamed to `Peekable`
- Added missing documentation for `peekFully(byte[])`
@deavmi

deavmi commented Jun 19, 2023

Copy link
Copy Markdown
Owner Author

This is amper klaar ✔️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant