• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

lqez/npk: neat package system written in C

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

lqez/npk

开源软件地址:

https://github.com/lqez/npk

开源编程语言:

C 50.7%

开源软件介绍:

npk - neat package system [en:pack]

Build Status

  • Copyright (c) 2009-2013 Park Hyun-woo(ez.amiryo@gmail.com)
  • Distributed under MIT license. (see LICENSE for detail)

Why files should be packed?

  • Open multiple files vs Open only one file.
    • If you want to open multiple files in your application, kernel should traverse FAT(file allocation tables). It needs lots of time - sometimes even longer than load files into memory. npk has its own list of files and also supports hash table for large packages. Yes, npk is a small logical file system itself.
  • Encryption and Compression
    • tar can archive files into a package. But it needs gzip or something to compress files. npk embeds xxtea encyption and zlib compression for convenience. You can just read / write files via npk API, no concern.

What is npk?

'npk' is a file package system, called 'en-pack'.

  • Support file compression(zlib) and encryption(xxtea).
  • Support most modern operating systems.

npk consists of below items.

Installation

Or, if you're on OS X and using homebrew then,

$ brew tap lqez/npk
$ brew install npk

Contact

License

Distributed under MIT/X license. See LICENSE file.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap