Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jinchengchenghh committed Dec 14, 2024
1 parent 7c14239 commit ce58686
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions velox/common/file/FileInputStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ class FileInputStream : public ByteInputStream {

void readBytes(uint8_t* bytes, int32_t size) override;

/// Returns the view if required bytes keeps in the current file buffer,
/// otherwise, copy the bytes to IOBuf. Note: Not to readBytes until the
/// returned IOBuf is useless. You may overwrite the data in IOBuf if you read
/// more bytes.
std::unique_ptr<folly::IOBuf> readBytes(int32_t size) override;

std::string_view nextView(int32_t size) override;
Expand Down

0 comments on commit ce58686

Please sign in to comment.