base64: Remove method we don't use
Avoid porting issue with the MIMERWStream and just kill the method
This commit is contained in:
parent
2df9f74284
commit
2abc6e82e5
|
@ -96,19 +96,6 @@ MimeConverter subclass: Base64LikeConverter [
|
|||
ToCharTable at: 64 put: $/
|
||||
]
|
||||
|
||||
Base64LikeConverter class >> mimeDecodeToBytes: aStream [
|
||||
"Return a RWBinaryOrTextStream of the original ByteArray. aStream has only 65 innocuous character values. aStream is not binary. (See class comment). 4 bytes in aStream goes to 3 bytes in output."
|
||||
|
||||
| me |
|
||||
aStream position: 0.
|
||||
me := self new mimeStream: aStream.
|
||||
me dataStream: (MIMERWStream
|
||||
on: (ByteArray new: aStream size * 3 // 4)).
|
||||
me mimeDecodeToByteArray.
|
||||
me dataStream position: 0.
|
||||
^me dataStream
|
||||
]
|
||||
|
||||
Base64LikeConverter class >> mimeEncode: aStream [
|
||||
"Return a ReadWriteStream of characters. The data of aStream is encoded as 65 innocuous characters. (See class comment). 3 bytes in aStream goes to 4 bytes in output."
|
||||
|
||||
|
|
Reference in New Issue