#pragma once

#include <softbus_core/plugin/IFramer.h>

namespace modbus {

class ModbusFramer : public softbus::core::IFramer {
public:
    softbus::core::FrameResult extract(const uint8_t* data, std::size_t size) override;
    const char* protocolName() const override { return "modbus"; }
};

} // namespace modbus
