core/Xtreams__WriteStream.st
changeset 7 e1b3d2820de7
parent 2 faf220cbe5b9
child 20 51de794993c3
--- a/core/Xtreams__WriteStream.st	Mon Aug 22 15:51:21 2011 +0000
+++ b/core/Xtreams__WriteStream.st	Mon Aug 22 15:58:01 2011 +0000
@@ -461,18 +461,6 @@
 
 !WriteStream methodsFor:'transforming'!
 
-buffering: bufferSize
-	"Delays committing its content to its underlying stream until it has reached a certain size ,#flush is sent, or the stream is closed."
-	"       bufferSize      <Integer> The size of the buffer to start with.
-		^<PositionWriteStream>"
-	"
-		(ByteArray new writing buffering: 5)
-			write: (ByteArray withAll: (1 to: 11));
-			conclusion
-	"
-	^BufferedWriteStream on: self bufferSize: bufferSize
-!
-
 positioning
 	"If necessary add positioning layer. Note that positiong layer employs buffering to implement the positioning ability. The default buffering strategy will grow the buffer up to the full size of the underlying stream if not released. Consequently other Buffer types might be more suitable for specific circumstances, e.g. if only last n elements need to be buffered, a fixed size RingBuffer can be substitued with #buffer: accessor."
 	"       ^       <WriteStream>   a positionable read stream