author | Claus Gittinger <cg@exept.de> |
Mon, 27 May 2019 16:53:37 +0200 | |
changeset 24192 | 18512bf68422 |
parent 15959 | ad03342d5dff |
child 18120 | e3a375d5f6a8 |
permissions | -rw-r--r-- |
15959
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
1 |
" |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
2 |
COPYRIGHT (c) 2006 by eXept Software AG |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
3 |
All Rights Reserved |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
4 |
|
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
5 |
This software is furnished under a license and may be used |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
6 |
only in accordance with the terms of that license and with the |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
7 |
inclusion of the above copyright notice. This software may not |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
8 |
be provided or otherwise made available to, or used by, any |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
9 |
other person. No title to or ownership of the software is |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
10 |
hereby transferred. |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
11 |
" |
6489 | 12 |
"{ Package: 'stx:libbasic' }" |
13 |
||
14 |
ExternalBytes subclass:#UnprotectedExternalBytes |
|
15 |
instanceVariableNames:'' |
|
16 |
classVariableNames:'' |
|
17 |
poolDictionaries:'' |
|
18 |
category:'System-Support' |
|
19 |
! |
|
20 |
||
21 |
!UnprotectedExternalBytes class methodsFor:'documentation'! |
|
22 |
||
15959
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
23 |
copyright |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
24 |
" |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
25 |
COPYRIGHT (c) 2006 by eXept Software AG |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
26 |
All Rights Reserved |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
27 |
|
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
28 |
This software is furnished under a license and may be used |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
29 |
only in accordance with the terms of that license and with the |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
30 |
inclusion of the above copyright notice. This software may not |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
31 |
be provided or otherwise made available to, or used by, any |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
32 |
other person. No title to or ownership of the software is |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
33 |
hereby transferred. |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
34 |
" |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
35 |
! |
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
36 |
|
6489 | 37 |
documentation |
38 |
" |
|
39 |
This is just a factory to generate ExternalBytes. |
|
40 |
There are no instances of this class!! |
|
41 |
||
42 |
The difference to ExternalBytes is, that #new: returns unprotected ExternalBytes, |
|
43 |
that are not protected from garbage collecteded. ExternalBytes allocated #with new: |
|
44 |
are not garbage collected. |
|
45 |
||
46 |
[author:] |
|
47 |
Stefan Vogel |
|
48 |
||
49 |
[see also:] |
|
50 |
ExternalBytes |
|
51 |
" |
|
52 |
! ! |
|
53 |
||
54 |
!UnprotectedExternalBytes class methodsFor:'instance creation'! |
|
55 |
||
56 |
new |
|
57 |
"return ExternalBytes" |
|
58 |
||
59 |
^ ExternalBytes new |
|
60 |
! |
|
61 |
||
62 |
new:size |
|
63 |
"return unprotected ExternalBytes" |
|
64 |
||
65 |
^ ExternalBytes unprotectedNew:size |
|
66 |
! ! |
|
67 |
||
68 |
!UnprotectedExternalBytes class methodsFor:'documentation'! |
|
69 |
||
70 |
version |
|
15959
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
71 |
^ '$Header: /cvs/stx/stx/libbasic/UnprotectedExternalBytes.st,v 1.2 2014-02-05 17:18:22 cg Exp $' |
6489 | 72 |
! ! |
15959
ad03342d5dff
class: UnprotectedExternalBytes
Claus Gittinger <cg@exept.de>
parents:
6489
diff
changeset
|
73 |