Skip to content

Commit

Permalink
#405: Improve javadoc of Slice getData method.
Browse files Browse the repository at this point in the history
Co-authored-by: Carly-1 <[email protected]>
  • Loading branch information
mvanaken and Carly-1 authored Nov 29, 2023
1 parent b837db1 commit be1c5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/io/parsingdata/metal/data/Slice.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public byte[] getData(final BigInteger limit) {
/**
* Return a part of the data specified by the offset and limit.
* @param offset the offset to start reading the slice from
* @param limit the maximum number of bytes returned. Less bytes are returned if the end of slice is reached.
* @param limit the maximum number of bytes returned. Fewer bytes are returned if the end of slice is reached.
* @return a byte array representing the data.
*/
public byte[] getData(final BigInteger offset, final BigInteger limit) {
Expand Down

0 comments on commit be1c5c7

Please sign in to comment.