Smalltalk/X WebserverDocumentation of class 'VirtualReadOnlyBinaryFileContents': | ||
Class: VirtualReadOnlyBinaryFileContentsInheritance:Object | +--Collection | +--SequenceableCollection | +--VirtualArray | +--VirtualReadOnlyBinaryFileContents
Description:documentation to be added. class: <a short class summary here, describing what instances represent> responsibilities: <describing what my main role is> collaborators: <describing with whom and how I talk to> API: <public api and main messages> example: <a one-line examples on how to use - can also be in a separate example method> implementation: <implementation points> [instance variables:] [class variables:] Related information:Class protocol:instance creation
Instance protocol:accessing
Examples:|s data bytes1To5 bytes100000To100003| s := 'libstx_libbasic.dll' asFilename readStream. bytes1To5 := s nextBytes:5. s position:100000-1. bytes100000To100003 := s nextBytes:4. s close. Transcript showCR:bytes1To5. Transcript showCR:bytes100000To100003. data := VirtualReadOnlyBinaryFileContents ofFile:'libstx_libbasic.dll'. Transcript show:'1: '; showCR:(data at:1). Transcript show:'100000: '; showCR:(data at:100000). Transcript show:'100001: '; showCR:(data at:100001). Transcript show:'100002: '; showCR:(data at:100002). Transcript show:'100003: '; showCR:(data at:100003). Transcript show:'1: '; showCR:(data at:1). Transcript show:'2: '; showCR:(data at:2). Transcript show:'3: '; showCR:(data at:3). Transcript show:'4: '; showCR:(data at:4). Transcript show:'5: '; showCR:(data at:5). data offset:100000-1. Transcript show:'1(100000): '; showCR:(data at:1). Transcript show:'2(100001): '; showCR:(data at:2). Transcript show:'3(100002): '; showCR:(data at:3). Transcript show:'4(100003): '; showCR:(data at:4). data release |
||
ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 23 Nov 2024 07:56:32 GMT |