def METHOD_NAME(self, chunk_size: int) -> BytesAlike:
    if self.pos >= self.get_size():
        return EOS
    next_pos = self.pos + chunk_size
    if next_pos > self.get_size():
        next_pos = self.get_size()
    buf = self.blob_view[self.pos : next_pos]
    self.pos = next_pos
    return buf