首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 位串解析和创造图书馆Lua

位串解析和创造图书馆Lua

  • 资源大小:329.24 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: lua 图书馆 解析 创造

资 源 简 介

Lua bitstring parsing and creation library based on Erlang bit syntax. Bitstring is useful for network protocol programming and for manipulation of bit based file formats. It provides conversion of strings to binary and hexadecimal formats Example Parsing and creation of EAP-TLS message EAP-TLS protocol defined in RFC 2716 ``` code, identifier, length, eap_type, Lbit, Mbit, Sbit, Rbits = bitstring.unpack( "8:int, 8:int, 16:int:big, 8:int, 1:int, 1:int, 1:int, 5:int", eaptlsmessage); composedeaptls_message = bitstring.pack( "8:int, 8:int, 16:int:big, 8:int, 1:int, 1:int, 1:int, 5:int", code, identifier, length, eap_type, Lbit, Mbit, Sbit, Rbits) ``` Parsing IP packet IP header format is defined in RFC 791 paragraph 3.1 ``` local version, ihl, typeofservice, total_length, identification, reserved, df, mf, fragment_offset,

文 件 列 表

bitstring-1.1
ChangeLog
install-sh
configure.ac
configure
aclocal.m4
depcomp
config.sub
doc
INSTALL
win32
COPYING
src
NEWS
Makefile.in
README
missing
tests
AUTHORS
ltmain.sh
config.guess
Makefile.am

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP