| 245 | } |
| 246 | |
| 247 | InternalMessageBuffer::InternalMessageBuffer(unsigned aBlrLength, const unsigned char* aBlr, |
| 248 | unsigned aBufferLength, unsigned char* aBuffer) |
| 249 | { |
| 250 | buffer = aBuffer; |
| 251 | |
| 252 | if (aBlr && aBlrLength) |
| 253 | { |
| 254 | metadata = FB_NEW MetadataFromBlr(aBlrLength, aBlr, aBufferLength); |
| 255 | metadata->addRef(); |
| 256 | } |
| 257 | else |
| 258 | metadata = NULL; |
| 259 | } |
| 260 | |
| 261 | InternalMessageBuffer::~InternalMessageBuffer() |
| 262 | { |
nothing calls this directly
no test coverage detected