mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Doc fix.
PiperOrigin-RevId: 228296962
This commit is contained in:
parent
8c47b02083
commit
194caf23e5
@ -64,11 +64,11 @@ public interface DataSource {
|
||||
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}.
|
||||
* <p>
|
||||
* If {@code length} is zero then 0 is returned. Otherwise, if no data is available because the
|
||||
* end of the opened range has been reached, then {@link C#RESULT_END_OF_INPUT} is returned.
|
||||
*
|
||||
* <p>If {@code readLength} is zero then 0 is returned. Otherwise, if no data is available because
|
||||
* 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
|
||||
* bytes read is returned.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user