Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
80645056
authored
Jan 08, 2019
by
olly
Committed by
Oliver Woodman
Jan 15, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Doc fix.
PiperOrigin-RevId: 228296962
parent
93f4a19f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
library/core/src/main/java/com/google/android/exoplayer2/upstream/DataSource.java
library/core/src/main/java/com/google/android/exoplayer2/upstream/DataSource.java
View file @
80645056
...
...
@@ -64,11 +64,11 @@ public interface DataSource {
long
open
(
DataSpec
dataSpec
)
throws
IOException
;
/**
* Reads up to {@code
l
ength} bytes of data and stores them into {@code buffer}, starting at
* Reads up to {@code
readL
ength} 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 th
e
* 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 becaus
e
*
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.
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment