| 96 | } |
| 97 | |
| 98 | QByteArray BioByteArray::byteArray() const |
| 99 | { |
| 100 | if (read_only || !read_write) |
| 101 | return store; |
| 102 | /* "read_write" Bio may differ from "store" */ |
| 103 | const char *p; |
| 104 | int l = BIO_get_mem_data(read_write, &p); |
| 105 | return QByteArray(p, l); |
| 106 | } |
| 107 | |
| 108 | int BioByteArray::size() const |
| 109 | { |
no outgoing calls