Squeak Class Documentation category index | class index  
 
FlashFileStream
  category: Balloon-MMFlash Import
  superclass: Stream
  subclasses:

No comment. Sorry.

instance methods
  accessing
  atEnd
close
hasAlpha
hasAlpha:
next
nextByte
nextByteForBits
nextByteForBitsPut:
nextBytePut:
nextBytes:
peekFor:
position
position:
size
skip:
stream
upToEnd

  initialize
  on:

  private
  convertChar2Squeak:
convertCharFromSqueak:

  reading data
  initBits
nextBitFlag
nextBits:
nextColor
nextColor:
nextColorMatrix
nextColorMatrix:
nextLong
nextMatrix
nextPoint
nextRect
nextSignedBits:
nextString
nextTag
nextULong
nextWord

  writing data
  flushBits
nextBitFlag:
nextBits:put:
nextColorMatrixPut:
nextColorPut:
nextLongPut:
nextMatrixPut:
nextPointPut:
nextRectPut:
nextSignedBits:put:
nextStringPut:
nextTagPut:length:
nextULongPut:
nextWordPut:

class methods
  instance creation
  on:

instance methods
  accessing top  
 

atEnd

Answer whether the receiver can access any more objects.


 

close


 

hasAlpha


 

hasAlpha:


 

next

Make sure the bit buffer is reset


 

nextByte

Make sure the bit buffer is reset


 

nextByteForBits


 

nextByteForBitsPut:


 

nextBytePut:

Make sure the bit buffer is reset


 

nextBytes:

Return a ByteArray containing the next n bytes


 

peekFor:


 

position


 

position:


 

size

Primitive. Answer the number of indexable variables in the receiver.
This value is the same as the largest legal subscript. Essential. See Object
documentation whatIsAPrimitive.


 

skip:


 

stream


 

upToEnd

answer the remaining elements in the string


  initialize top  
 

on:


  private top  
 

convertChar2Squeak:

Convert aCharacter from SWF char set (whatever this may be) to Squeaks char set


 

convertCharFromSqueak:

Convert aCharacter to SWF char set (whatever this may be)


  reading data top  
 

initBits

Initialize the bit buffer for future bit reading operations.
Note: We do not fetch the first byte here so we can do multiple #initBits
without harming the position of the input stream.


 

nextBitFlag


 

nextBits:

Return the next n bits


 

nextColor


 

nextColor:


 

nextColorMatrix

Read a (possibly compressed) color transformation


 

nextColorMatrix:


 

nextLong


 

nextMatrix

Read a (possibly compressed) transformation matrix


 

nextPoint

Read a (possibly compressed) point


 

nextRect

Read a (possibly compressed) rectangle


 

nextSignedBits:

Return the next n bits as signed integer value


 

nextString


 

nextTag

Read the next tag. Return an association with the key being the tag id and its value the contents of the chunk following.


 

nextULong


 

nextWord


  writing data top  
 

flushBits

Flush the bit buffer for future bit writing operations.


 

nextBitFlag:


 

nextBits:put:

Write the next n bits


 

nextColorMatrixPut:

Write a (possibly compressed) color transformation


 

nextColorPut:


 

nextLongPut:


 

nextMatrixPut:

write a (possibly compressed) transformation matrix


 

nextPointPut:

Write a (possibly compressed) point


 

nextRectPut:

Write a (possibly compressed) rectangle


 

nextSignedBits:put:

Write the next n bits as signed integer value


 

nextStringPut:


 

nextTagPut:length:

Write the next tag.


 

nextULongPut:


 

nextWordPut:


class methods
  instance creation top  
 

on: