| 811 | } |
| 812 | |
| 813 | USHORT InternalBlob::read(thread_db* tdbb, UCHAR* buff, USHORT len) |
| 814 | { |
| 815 | fb_assert(m_blob); |
| 816 | |
| 817 | unsigned result = 0; |
| 818 | FbLocalStatus status; |
| 819 | |
| 820 | { |
| 821 | EngineCallbackGuard guard(tdbb, m_connection, FB_FUNCTION); |
| 822 | m_blob->getSegment(&status, len, buff, &result); |
| 823 | } |
| 824 | |
| 825 | if (status->getState() & IStatus::STATE_ERRORS) |
| 826 | m_connection.raise(&status, tdbb, "JBlob::getSegment"); |
| 827 | |
| 828 | return result; |
| 829 | } |
| 830 | |
| 831 | void InternalBlob::write(thread_db* tdbb, const UCHAR* buff, USHORT len) |
| 832 | { |
nothing calls this directly
no test coverage detected