class ByteBuffer {

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < size(); i++) {
            sb.append((char)getUnchecked(i));
        }
        return sb.toString();
    }

    public  ByteBuffer();
    public  ByteBuffer(int capacity);
    public  ByteBuffer(byte[] bytes);
    public  ByteBuffer(byte[] bytes, int capacity);
    public  ByteBuffer(byte[] bytes, int offset, int length);
    public  ByteBuffer(byte[] bytes, int offset, int length, int capacity);
    public  ByteBuffer(String string0);
    public  ByteBuffer(String string0, int capacity);

}