タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

lhaに関するPinkのブックマーク (1)

  • Rubyでlzh - メモ:wantora

    2/5 level2ヘッダのサイズが0x100の時失敗するバグを修正 Rubyでlzhの中にあるファイルの一覧を取得しようとしたら、lzh用のライブラリが無い。 仕方がないので自分で作ってみた。かなり手抜きなので注意。 参考にした資料 .LZH ファイル構造・ヘッダ構造 解説の詳細情報 : Vector ソフトを探す! LHAの書庫構造 http://homepage1.nifty.com/dangan/Content/Program/Java/jLHA/Notes/Notes.html # Copyright (c) 2009 wantora # MIT license class Lha class Stat attr_reader :name def initialize(stat) @name = stat[:name] end end def self.open(path) ar

    Rubyでlzh - メモ:wantora
    Pink
    Pink 2009/03/05
  • 1