MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / toByteArray

Method toByteArray

src/main/java/core/packetproxy/http2/Stream.java:31–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 }
30
31 public byte[] toByteArray() throws Exception {
32 ByteArrayOutputStream out = new ByteArrayOutputStream();
33 for (Frame frame : stream) {
34
35 out.write(frame.toByteArray());
36 }
37 return out.toByteArray();
38 }
39
40 public byte[] toByteArrayWithoutExtra() throws Exception {
41 ByteArrayOutputStream out = new ByteArrayOutputStream();

Callers 15

decodeFromFramesMethod · 0.45
encodeToFramesMethod · 0.45
decodeFromFramesMethod · 0.45
encodeToFramesMethod · 0.45
runMethod · 0.45
decodeFromFramesMethod · 0.45
encodeToFramesMethod · 0.45

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected