hxb
2024-02-22 d451118d4be05f180cfe1f99bc5904f74db8cc3f
HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/core/bean/LinkRequest.java
@@ -4,8 +4,6 @@
import com.hdl.sdk.link.common.utils.ByteUtils;
import java.nio.charset.StandardCharsets;
/**
 * Created by Tong on 2021/9/29.
@@ -125,7 +123,7 @@
                    "Length:" +
                    getLength() +
                    "\r\n\r\n";
            return ByteUtils.concatBytes(header.getBytes(StandardCharsets.UTF_8), getData());
            return ByteUtils.concatBytes(header.getBytes("utf-8"), getData());
        } catch (Exception e) {
            return new byte[]{};
        }