Commit 194caf23 by olly Committed by Oliver Woodman

Doc fix.

PiperOrigin-RevId: 228296962
parent 8c47b020
...@@ -64,11 +64,11 @@ public interface DataSource { ...@@ -64,11 +64,11 @@ public interface DataSource {
long open(DataSpec dataSpec) throws IOException; long open(DataSpec dataSpec) throws IOException;
/** /**
* Reads up to {@code length} bytes of data and stores them into {@code buffer}, starting at * Reads up to {@code readLength} bytes of data and stores them into {@code buffer}, starting at
* index {@code offset}. * index {@code offset}.
* <p> *
* If {@code length} is zero then 0 is returned. Otherwise, if no data is available because the * <p>If {@code readLength} is zero then 0 is returned. Otherwise, if no data is available because
* end of the opened range has been reached, then {@link C#RESULT_END_OF_INPUT} is returned. * the end of the opened range has been reached, then {@link C#RESULT_END_OF_INPUT} is returned.
* Otherwise, the call will block until at least one byte of data has been read and the number of * Otherwise, the call will block until at least one byte of data has been read and the number of
* bytes read is returned. * bytes read is returned.
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment