MCPcopy Create free account
hub / github.com/dumbledore/AlbiteREADER / toByteArray

Method toByteArray

src/gnu/zip/PendingBuffer.java:189–196  ·  view source on GitHub ↗

Flushes the pending buffer and returns that data in a new array @return the output stream

()

Source from the content-addressed store, hash-verified

187 */
188
189 public final byte[] toByteArray()
190 {
191 byte[] ret = new byte[ end - start ];
192 System.arraycopy(buf, start, ret, 0, ret.length);
193 start = 0;
194 end = 0;
195 return ret;
196 }
197
198
199}

Callers 4

saveOptionsToRMSMethod · 0.80
saveOptionsToRMSMethod · 0.80
saveBookSettingsMethod · 0.80
saveBookmarksMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected