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

Method put

src/main/java/core/packetproxy/common/UDPConn.java:38–43  ·  view source on GitHub ↗
(byte[] data, int offset, int length)

Source from the content-addressed store, hash-verified

36 }
37
38 public void put(byte[] data, int offset, int length) throws Exception {
39 ByteArrayOutputStream bout = new ByteArrayOutputStream();
40 bout.write(data, offset, length);
41 put(bout.toByteArray());
42 bout.close();
43 }
44
45 public void put(byte[] data) throws Exception {
46 OutputStream os = pipe.getRawEndpoint().getOutputStream();

Callers 15

putMethod · 0.95
bigDataMethod · 0.45
getKeyStoreMethod · 0.45
startListenMethod · 0.45
loadVulCheckersMethod · 0.45
registerDuplexMethod · 0.45
SpoofAddrFactoryMethod · 0.45
getSpoofAddrMethod · 0.45
loadModulesMethod · 0.45
loadModulesFromJarMethod · 0.45

Calls 5

getRawEndpointMethod · 0.80
writeMethod · 0.65
getOutputStreamMethod · 0.65
toByteArrayMethod · 0.45
closeMethod · 0.45

Tested by 2

bigDataMethod · 0.36
createTestListMethod · 0.36