author | Stefan Vogel <sv@exept.de> |
Mon, 22 Jun 2015 11:24:02 +0200 | |
changeset 18494 | 41f8a86105f0 |
parent 12609 | 388a0576a644 |
child 18011 | deb0c3355881 |
child 19826 | 4da2517eec1a |
permissions | -rw-r--r-- |
8148 | 1 |
" |
2 |
COPYRIGHT (c) 2004 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
8081 | 12 |
"{ Package: 'stx:libbasic' }" |
13 |
||
14 |
"{ NameSpace: CharacterEncoderImplementations }" |
|
15 |
||
8134 | 16 |
CharacterEncoder subclass:#SingleByteEncoder |
8081 | 17 |
instanceVariableNames:'' |
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
20 |
category:'Collections-Text-Encodings' |
|
21 |
! |
|
22 |
||
8148 | 23 |
!SingleByteEncoder class methodsFor:'documentation'! |
24 |
||
25 |
copyright |
|
26 |
" |
|
27 |
COPYRIGHT (c) 2004 by eXept Software AG |
|
28 |
All Rights Reserved |
|
29 |
||
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
8811 | 37 |
! |
38 |
||
39 |
documentation |
|
40 |
" |
|
41 |
Common abstract superclass for all single-byte encodings. |
|
42 |
||
43 |
[author:] |
|
44 |
Claus Gittinger |
|
45 |
" |
|
8148 | 46 |
! ! |
8081 | 47 |
|
48 |
!SingleByteEncoder class methodsFor:'queries'! |
|
49 |
||
50 |
maxCode |
|
51 |
^ 255 |
|
52 |
! |
|
53 |
||
54 |
minCode |
|
55 |
^ 0 |
|
56 |
! ! |
|
57 |
||
58 |
!SingleByteEncoder methodsFor:'private'! |
|
59 |
||
60 |
newString:size |
|
61 |
^ String uninitializedNew:size |
|
62 |
! ! |
|
63 |
||
11997 | 64 |
!SingleByteEncoder methodsFor:'queries'! |
65 |
||
66 |
characterSize:codePoint |
|
67 |
||
68 |
^1 |
|
69 |
||
70 |
"Created: / 15-06-2005 / 15:11:24 / janfrog" |
|
71 |
! ! |
|
72 |
||
8081 | 73 |
!SingleByteEncoder class methodsFor:'documentation'! |
74 |
||
75 |
version |
|
12609
388a0576a644
pushed some methods up (for NullEncoder)
Claus Gittinger <cg@exept.de>
parents:
12592
diff
changeset
|
76 |
^ '$Header: /cvs/stx/stx/libbasic/CharacterEncoderImplementations__SingleByteEncoder.st,v 1.9 2009-12-11 16:54:15 cg Exp $' |
12433
b8654ecbc50d
added: #readNextInputCharacterFrom:
Claus Gittinger <cg@exept.de>
parents:
11997
diff
changeset
|
77 |
! |
b8654ecbc50d
added: #readNextInputCharacterFrom:
Claus Gittinger <cg@exept.de>
parents:
11997
diff
changeset
|
78 |
|
b8654ecbc50d
added: #readNextInputCharacterFrom:
Claus Gittinger <cg@exept.de>
parents:
11997
diff
changeset
|
79 |
version_CVS |
12609
388a0576a644
pushed some methods up (for NullEncoder)
Claus Gittinger <cg@exept.de>
parents:
12592
diff
changeset
|
80 |
^ '$Header: /cvs/stx/stx/libbasic/CharacterEncoderImplementations__SingleByteEncoder.st,v 1.9 2009-12-11 16:54:15 cg Exp $' |
8081 | 81 |
! ! |