MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / getStreamStats

Method getStreamStats

src/main/java/io/Utf8IOStream.java:255–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253//#else
254
255 public String getStreamStats() {
256 StringBuffer stats=new StringBuffer();
257 try {
258 long sent=bytesSent;
259 long recv=bytesRecv;
260 stats.append("\nStream: in=").append(recv).append(" out=").append(sent);
261 } catch (Exception e) {
262 stats=null;
263 return "";
264 }
265 return stats.toString();
266 }
267
268 public long getBytes() {
269 try {

Callers

nothing calls this directly

Calls 2

appendMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected