Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

I hope somebody can help me out with a problem,

I'd like to subclass IAStream, but add a function that allows me to append to the buffer as it's being read from. The data I have arriving from the device may come from HTTP or Sockets or both. Is creating an extension the only way to do this?

I'm trying to avoid submiting, testing, and requiring an extension for my application...

No, you don't have to create an extension. Just write a constructor function, like IMyAStream_New() or something like that, which instantiates your stream object.
-Erik

No, you don't have to create an extension. Just write a constructor function, like IMyAStream_New() or something like that, which instantiates your stream object.
-Erik