2021-04-10 04:00:37 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2018-02-10 23:37:42 +00:00
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2021-06-22 00:16:40 +00:00
< meta name = "generator" content = "Doxygen 1.8.17" / >
2018-02-10 23:37:42 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > Shaka Packager SDK: shaka::media::LineReader Class Reference< / title >
< link href = "../../tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "../../jquery.js" > < / script >
< script type = "text/javascript" src = "../../dynsections.js" > < / script >
< link href = "../../search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "../../search/searchdata.js" > < / script >
< script type = "text/javascript" src = "../../search/search.js" > < / script >
< link href = "../../doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > Shaka Packager SDK
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2021-06-22 00:16:40 +00:00
<!-- Generated by Doxygen 1.8.17 -->
2018-02-10 23:37:42 +00:00
< script type = "text/javascript" >
2021-04-10 04:00:37 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2021-06-22 00:16:40 +00:00
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
2021-04-10 04:00:37 +00:00
/* @license-end */
2018-02-10 23:37:42 +00:00
< / script >
< script type = "text/javascript" src = "../../menudata.js" > < / script >
< script type = "text/javascript" src = "../../menu.js" > < / script >
< script type = "text/javascript" >
2021-04-10 04:00:37 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2018-02-10 23:37:42 +00:00
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2021-04-10 04:00:37 +00:00
/* @license-end */< / script >
2018-02-10 23:37:42 +00:00
< div id = "main-nav" > < / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "../../d8/daf/namespaceshaka.html" > shaka< / a > < / li > < li class = "navelem" > < b > media< / b > < / li > < li class = "navelem" > < a class = "el" href = "../../db/de2/classshaka_1_1media_1_1LineReader.html" > LineReader< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "../../d2/d26/classshaka_1_1media_1_1LineReader-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > shaka::media::LineReader Class Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
2021-04-10 04:00:37 +00:00
< tr class = "memitem:aefbf919837a91de33bac0f14feb25a96" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "aefbf919837a91de33bac0f14feb25a96" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../db/de2/classshaka_1_1media_1_1LineReader.html#aefbf919837a91de33bac0f14feb25a96" > PushData< / a > (const uint8_t *data, size_t data_size)< / td > < / tr >
< tr class = "memdesc:aefbf919837a91de33bac0f14feb25a96" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Pushes data onto the end of the buffer. < br / > < / td > < / tr >
< tr class = "separator:aefbf919837a91de33bac0f14feb25a96" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad75892efb765091aabcede75dac10cc3" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../db/de2/classshaka_1_1media_1_1LineReader.html#ad75892efb765091aabcede75dac10cc3" > Next< / a > (std::string *out)< / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "separator:ad75892efb765091aabcede75dac10cc3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2021-04-10 04:00:37 +00:00
< tr class = "memitem:a225861ff0be8f69c62a3649ca993e50a" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../db/de2/classshaka_1_1media_1_1LineReader.html#a225861ff0be8f69c62a3649ca993e50a" > Flush< / a > ()< / td > < / tr >
< tr class = "separator:a225861ff0be8f69c62a3649ca993e50a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" >
2021-04-10 04:00:37 +00:00
< p class = "definition" > Definition at line < a class = "el" href = "../../d4/d0c/text__readers_8h_source.html#l00022" > 22< / a > of file < a class = "el" href = "../../d4/d0c/text__readers_8h_source.html" > text_readers.h< / a > .< / p >
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
< a id = "a225861ff0be8f69c62a3649ca993e50a" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a225861ff0be8f69c62a3649ca993e50a" > ◆ < / a > < / span > Flush()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void shaka::media::LineReader::Flush < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Indicates that no more data is coming and that calls to Next should return even possibly-incomplete data. < / p >
< p class = "definition" > Definition at line < a class = "el" href = "../../d8/d51/text__readers_8cc_source.html#l00067" > 67< / a > of file < a class = "el" href = "../../d8/d51/text__readers_8cc_source.html" > text_readers.cc< / a > .< / p >
< / div >
< / div >
< a id = "ad75892efb765091aabcede75dac10cc3" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ad75892efb765091aabcede75dac10cc3" > ◆ < / a > < / span > Next()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool shaka::media::LineReader::Next < / td >
< td > (< / td >
< td class = "paramtype" > std::string *  < / td >
< td class = "paramname" > < em > out< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Reads the next line from the buffer. < / p > < dl class = "section return" > < dt > Returns< / dt > < dd > True if a line is read, false if there's no line in the buffer. < / dd > < / dl >
< p class = "definition" > Definition at line < a class = "el" href = "../../d8/d51/text__readers_8cc_source.html#l00024" > 24< / a > of file < a class = "el" href = "../../d8/d51/text__readers_8cc_source.html" > text_readers.cc< / a > .< / p >
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
2018-02-10 23:37:42 +00:00
< li > packager/media/formats/webvtt/< a class = "el" href = "../../d4/d0c/text__readers_8h_source.html" > text_readers.h< / a > < / li >
< li > packager/media/formats/webvtt/< a class = "el" href = "../../d8/d51/text__readers_8cc_source.html" > text_readers.cc< / a > < / li >
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2021-06-22 00:16:40 +00:00
Generated on Tue Jun 22 2021 00:16:05 for Shaka Packager SDK by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "../../doxygen.png" alt = "doxygen" / >
< / a > 1.8.17
2018-02-10 23:37:42 +00:00
< / small > < / address >
< / body >
< / html >