6489
|
1 |
"{ Package: 'stx:libbasic' }"
|
|
2 |
|
|
3 |
ExternalBytes subclass:#UnprotectedExternalBytes
|
|
4 |
instanceVariableNames:''
|
|
5 |
classVariableNames:''
|
|
6 |
poolDictionaries:''
|
|
7 |
category:'System-Support'
|
|
8 |
!
|
|
9 |
|
|
10 |
!UnprotectedExternalBytes class methodsFor:'documentation'!
|
|
11 |
|
|
12 |
documentation
|
|
13 |
"
|
|
14 |
This is just a factory to generate ExternalBytes.
|
|
15 |
There are no instances of this class!!
|
|
16 |
|
|
17 |
The difference to ExternalBytes is, that #new: returns unprotected ExternalBytes,
|
|
18 |
that are not protected from garbage collecteded. ExternalBytes allocated #with new:
|
|
19 |
are not garbage collected.
|
|
20 |
|
|
21 |
[author:]
|
|
22 |
Stefan Vogel
|
|
23 |
|
|
24 |
[see also:]
|
|
25 |
ExternalBytes
|
|
26 |
"
|
|
27 |
! !
|
|
28 |
|
|
29 |
!UnprotectedExternalBytes class methodsFor:'instance creation'!
|
|
30 |
|
|
31 |
new
|
|
32 |
"return ExternalBytes"
|
|
33 |
|
|
34 |
^ ExternalBytes new
|
|
35 |
!
|
|
36 |
|
|
37 |
new:size
|
|
38 |
"return unprotected ExternalBytes"
|
|
39 |
|
|
40 |
^ ExternalBytes unprotectedNew:size
|
|
41 |
! !
|
|
42 |
|
|
43 |
!UnprotectedExternalBytes class methodsFor:'documentation'!
|
|
44 |
|
|
45 |
version
|
|
46 |
^ '$Header: /cvs/stx/stx/libbasic/UnprotectedExternalBytes.st,v 1.1 2002-04-09 15:23:15 stefan Exp $'
|
|
47 |
! !
|