Groups | Search | Server Info | Login | Register


Groups > alt.comp.lang.vbscript > #16

adob.stream - altering a byte() result

From "R.Wieser" <address@is.invalid>
Newsgroups alt.comp.lang.vbscript, alt.windows7.general
Subject adob.stream - altering a byte() result
Date 2025-06-02 12:41 +0200
Organization A noiseless patient Spider
Message-ID <101jv4m$38b8t$1@dont-email.me> (permalink)

Cross-posted to 2 groups.

Show all headers | View raw


Hello all,

I've used adob.stream to get a byte() array of data.  Using midb() to read 
every byte/character from that array works ("data(i)" doesn't :-( ).

The problem is that I can't seem to find a method to *alter* the byte() 
string/array. using "midb(...) = ..." thows an error, and tryng to split it 
(using leftb() and rightb() ) and glue something between the parts causes 
the result to become a string (checked using typename).

... and I just found out that "leftb()" itself returns a string, and not 
just a small byte() array.

Some googeling returns a number of examples to *display* the contents of a 
byte() array, but I can't seem to find any example altering it.

Does someone know how its supposed to be done ?

Regards,
Rudy Wieser

Back to alt.comp.lang.vbscript | Previous | NextNext in thread | Find similar


Thread

adob.stream - altering a byte() result "R.Wieser" <address@is.invalid> - 2025-06-02 12:41 +0200
  Re: adob.stream - altering a byte() result JJ <jj4public@outlook.com> - 2025-06-03 05:57 +0700
    Re: adob.stream - altering a byte() result "R.Wieser" <address@is.invalid> - 2025-06-03 09:32 +0200
    Re: adob.stream - altering a byte() result "R.Wieser" <address@is.invalid> - 2025-06-05 13:23 +0200
      Re: adob.stream - altering a byte() result JJ <jj4public@outlook.com> - 2025-06-06 12:16 +0700
        Re: adob.stream - altering a byte() result "R.Wieser" <address@is.invalid> - 2025-06-06 08:40 +0200

csiph-web