350351352353354355356357358359360
try (Fuzzer fuzzer = new Fuzzer(this)) { fuzzer.connect(); ByteBuffer net = fuzzer.asNetworkBuffer(send); int splits[] = { 17, 21, net.limit() }; ByteBuffer part1 = net.slice(); // Header + good UTF part1.limit(splits[0]);
394395396397398399400401402403404
try (Fuzzer fuzzer = new Fuzzer(this); StacklessLogging scope = new StacklessLogging(Parser.class)) { fuzzer.connect(); ByteBuffer net = fuzzer.asNetworkBuffer(send); fuzzer.send(net,6); fuzzer.send(net,11); TimeUnit.SECONDS.sleep(1); fuzzer.send(net,1); TimeUnit.SECONDS.sleep(1);