aboutsummaryrefslogtreecommitdiff
path: root/src/bytes2any-help.pd
blob: 0663ec30b69aefb5bfcf4033477e8138f335a54b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#N canvas 507 20 612 604 10;
#X text 13 52 INLETS:;
#X text 309 54 OUTLETS:;
#X text 325 68 1 - pd messages;
#X text 325 82 2 - bang on done;
#X msg 24 113 97 32 98 32 99;
#X msg 39 135 97 0 98 0 99;
#X msg 92 206 0;
#X msg 60 206 -1;
#X msg 124 206 32;
#X text 166 202 The second inlet sets the message-separating EOS ("end-of-string")
character. If this character is encountered in an input list \, the
list is "split" at that point \, and two separate messages are output
at the leftmost outlet. You can specify a negative value here to avoid
implicit input splitting entirely. For backwards compatibility \, the
default EOS character is -1 \, which results in truncation of input
messages whenever a 0 (zero) is encountered.;
#X text 163 350 First argument: initial buffer size (length of object-local
text buffer). This should get re-allocated when necessary. Specify
0 (zero) to use the default value.;
#X text 165 405 Second argument: initial EOS character. See above.
;
#X text 159 477 Right outlet gives a bang after the entire input list
has been processed.;
#X text 189 531 Parsed pd messages are sent to the left outlet.;
#X text 306 580 Bryan Jurish <moocow@ling.uni-potsdam.de>;
#X text 27 83 2 - EOS character (float);
#X text 161 121 lists of floats are converted to pd messages.;
#X text 168 161 ... selector is ignored ...;
#X text 21 571 SEE ALSO:;
#X obj 102 570 pdstring;
#X text 27 68 1 - byte-valued float lists;
#X text 59 7 bytes2any : convert lists of byte values to pd messages
;
#X text 13 30 SYNTAX: bytes2any [INITIAL_BUFSIZE [EOS_CHAR]];
#X obj 124 454 print bytes2any-help-done;
#X obj 24 529 print bytes2any-help;
#X msg 54 161 StringThing 97;
#X obj 24 350 bytes2any 128 0;
#X connect 4 0 26 0;
#X connect 5 0 26 0;
#X connect 6 0 26 1;
#X connect 7 0 26 1;
#X connect 8 0 26 1;
#X connect 25 0 26 0;
#X connect 26 0 24 0;
#X connect 26 1 23 0;