Results 1 to 2 of 2

Thread: New kind of stream class

  1. #1

    Thread Starter
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    New kind of stream class

    Copyright Adam Ward 10 July 2004:

    I am thinking about developing a "RunLengthStream", which derives from the normal stream class.

    It will basically accept any binary data as input and use run length encoding to compress it into a smaller stream for transfer through systems that would normally represent a data bottleneck.

    Has this already been done (would I be wasting my time coding this)?

    Is it even a practical possibiliy?
    I don't live here any more.

  2. #2
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    hmm I dont know if it's really worth making a derivated stream class about it. Just create a function that converts and another that unconverts and that uses a regular stream as intput/output and that should be enough
    \m/\m/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width