Skip to content

IPExt类怎么解析开始ip #20

Description

@ginigal

for (start = start * 9 + 262144; start < max_comp_len; start += 9) {
tmpInt = int2long(indexBuffer.getInt(start));
if (tmpInt >= ip2long_value) {
index_offset = bytesToLong(b, indexBuffer.get(start + 6), indexBuffer.get(start + 5), indexBuffer.get(start + 4));
index_length = ((0xFF & indexBuffer.get(start + 7)) << 8) + (0xFF & indexBuffer.get(start + 8));
break;
}
}

这段代码tmpInt 解析出来在是终止ip,请问起始ip要怎么解析

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions