{
memcpy(m_ptr, data, sizeof(m_buffer) - dataSize); // Fill buffer
size -= sizeof(m_buffer) - dataSize; // Adjust size
data = static_cast<const char *>(data) + sizeof(m_buffer) - dataSize; // Adjust data pointer
m_proc(m_buffer, m_buffer, sizeof(m_buffer), &m_ctx); // Process
{
memcpy(m_ptr, data, sizeof(m_buffer) - dataSize); // Fill buffer
size -= sizeof(m_buffer) - dataSize; // Adjust size
data = static_cast<const char *>(data) + sizeof(m_buffer) - dataSize; // Adjust data pointer
m_proc(m_buffer, m_buffer, sizeof(m_buffer), &m_ctx); // Process