Sign in

王通 / gb32960_server · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • gb32960_server
  • ..
  • protocol
  • IMessageBody02.java
  • Init
      27f727e0
    王通 authored
    2024-10-25 09:02:26 +0800  
    Browse Code »
IMessageBody02.java 355 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
package com.bsth.socket.protocol;

/**
 * @author Hill
 */
public interface IMessageBody02 {

	/**
	 * 根据字节数组组装实时信息体数据
	 * @param bytes 字节数组
	 */
	public void read(byte[] bytes, int idx);

	/**
	 * 获取实时信息体内容字节长度
	 * @return 实时信息体内容字节长度
	 */
	public int getByteLen();
}