admin 管理员组

文章数量: 1086019


2024年4月14日发(作者:listview设置item间距)

MessageExt msgExt = new MessageExt();

// 1 TOTALSIZE

int storeSize = ();

reSize(storeSize);

if (storeSize<=0){

return null;

}

// 2 MAGICCODE

();

// 3 BODYCRC

int bodyCRC = ();

yCRC(bodyCRC);

// 4 QUEUEID

int queueId = ();

ueId(queueId);

// 5 FLAG

int flag = ();

g(flag);

// 6 QUEUEOFFSET

long queueOffset = g();

ueOffset(queueOffset);

// 7 PHYSICALOFFSET

long physicOffset = g();

mitLogOffset(physicOffset);

// 8 SYSFLAG

int sysFlag = ();

Flag(sysFlag);

// 9 BORNTIMESTAMP

long bornTimeStamp = g();

nTimestamp(bornTimeStamp);

// 10 BORNHOST

int bornhostIPLength = (sysFlag & ST_V6_FLAG) == 0 ? 4 : 16;

byte[] bornHost = new byte[bornhostIPLength];

(bornHost, 0, bornhostIPLength);

int port = ();

nHost(new InetSocketAddress(ddress(bornHost), port));

// 11 STORETIMESTAMP

long storeTimestamp = g();

reTimestamp(storeTimestamp);

// 12 STOREHOST

int storehostIPLength = (sysFlag & OSTADDRESS_V6_FLAG) == 0 ? 4 : 16;

byte[] storeHost = new byte[storehostIPLength];

(storeHost, 0, storehostIPLength);

port = ();

reHost(new InetSocketAddress(ddress(storeHost), port));

// 13 RECONSUMETIMES

int reconsumeTimes = ();

onsumeTimes(reconsumeTimes);

// 14 Prepared Transaction Offset

long preparedTransactionOffset = g();

paredTransactionOffset(preparedTransactionOffset);

// 15 BODY

int bodyLen = ();

if (bodyLen > 0) {

byte[] body = new byte[bodyLen];

(body);


本文标签: 设置 间距 作者