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
a16f4aec
authored
Dec 20, 2018
by
olly
Committed by
Oliver Woodman
Dec 20, 2018
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix out of data Javadoc
PiperOrigin-RevId: 226356758
parent
d3ecbf75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/CacheDataSink.java
library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/CacheDataSink.java
View file @
a16f4aec
...
...
@@ -30,10 +30,9 @@ import java.io.OutputStream;
/**
* Writes data into a cache.
*
* <p>If the {@link DataSpec} object used with {@link #open(DataSpec)} method call has the {@code
* length} field set to {@link C#LENGTH_UNSET} but {@link
* DataSpec#FLAG_ALLOW_CACHING_UNKNOWN_LENGTH} isn't set then {@link #write(byte[], int, int)} calls
* are ignored.
* <p>If the {@link DataSpec} passed to {@link #open(DataSpec)} has the {@code length} field set to
* {@link C#LENGTH_UNSET} and {@link DataSpec#FLAG_DONT_CACHE_IF_LENGTH_UNKNOWN} set, then {@link
* #write(byte[], int, int)} calls are ignored.
*/
public
final
class
CacheDataSink
implements
DataSink
{
...
...
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