# # This file is encoded in (so called) SHIFT-JIS, # line delimitor is CR. # Dump Goodies for Squeak 1.31, Squeak 2.0 Broken English description This goodies is a modification for Squeak from Mr. AOKI's Dump Goodies for VisualWorks 2.5 and VisualWave 1.0 Copyright (c) 1995-1998 AOKI Atsushi 1998/01/05 http://www.sra.co.jp/people/aoki/SmalltalkGoodies/VisualWorks/Dump.st http://www.sra.co.jp/people/aoki/SmalltalkGoodies/VisualWorks/Dump.txt Summary: This goodies dumps from a ByteArray, contents of a file to hex number and strings. How to install: FileIn this goodies and makes classes below in a category "Goodies-Dump". DumpModel This source adds no change to existing classes or methods. It completes within self. When you want to restore your image, please remove a class "DumpModel" from your system, simply. how to use: To dump a ByteArray: (DumpModel bytes: ''AOKI Atsushi'' asByteArray) open To dump the contents of a file: (DumpModel filename: ''filename'') open on Mac: '':directory:filename'', etc. on Win: ''directory\filename'', etc. on Unix: ''directory/filename'', etc. To dump the contents of a part of afile, use start address and stop address: (DumpModel filename: ''filename'' start: 100 stop: 200) open ########################################################## 青木さんの http://www.sra.co.jp/people/aoki/SmalltalkGoodies/VisualWorks/Dump.st を Squeak 用にいじったものです。 ドキュメントは http://www.sra.co.jp/people/aoki/SmalltalkGoodies/VisualWorks/Dump.txt を参照してください。 ---------------------------------------------------------- 西原聡士 (NISHIHARA Satoshi) e-mail: mailto:nishis@zephyr.dti.ne.jp URL: http://www.zephyr.dti.ne.jp/~nishis/ ----------------------------------------------------------