Writes a (possibly series) of pages to the stream in one go.
(OggPage[] pages)
| 138 | * stream in one go. |
| 139 | */ |
| 140 | protected synchronized void writePages(OggPage[] pages) throws IOException { |
| 141 | for(OggPage page : pages) { |
| 142 | page.writeHeader( out ); |
| 143 | out.write( page.getData() ); |
| 144 | } |
| 145 | out.flush(); |
| 146 | } |
| 147 | |
| 148 | |
| 149 | /** |
no test coverage detected