MCPcopy Create free account
hub / github.com/Gagravarr/VorbisJava / writePages

Method writePages

core/src/main/java/org/gagravarr/ogg/OggFile.java:140–146  ·  view source on GitHub ↗

Writes a (possibly series) of pages to the stream in one go.

(OggPage[] pages)

Source from the content-addressed store, hash-verified

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 /**

Callers 1

flushMethod · 0.80

Calls 4

writeHeaderMethod · 0.80
flushMethod · 0.80
writeMethod · 0.65
getDataMethod · 0.65

Tested by

no test coverage detected