All pastes #817291 Raw Edit

Stuff

public java v1 · immutable
·published 2007-12-15 12:20 UTC
rendered paste body
public class ByteWrapper {    byte[] bytes;    public ByteWrapper(byte[] bytes) {        this.bytes = bytes;    }    public String toString() {        StringBuilder output = new StringBuilder();        for(int i = 0; i < bytes.length; i++) {            output.append(bytes[i]);        }        return output.toString();    }        public int getLength() {        return bytes.length;    }    }