Re: BytesMessage constness

2007-09-21 Thread Motl
gt; Thanks, > Nate > > > On 9/21/07, Motl <[EMAIL PROTECTED]> wrote: >> >> >> Hi, >> I once asked you why readBytes() and other read methods aren't const: >> >> http://www.nabble.com/BytesMessage-methods-tf3833767s2354.html#a10853672 >&g

BytesMessage constness

2007-09-21 Thread Motl
Hi, I once asked you why readBytes() and other read methods aren't const: http://www.nabble.com/BytesMessage-methods-tf3833767s2354.html#a10853672 But if only the stream pointer is updated, I suppose we could have another solution here, i.e. declare inputStream field as 'mutable': mutable io::