Next: , Previous: , Up: The Byte Data Library   [Index]


13.9.4 Byte Data Byte Data Copy Functions

b_add

data b_add(data d, data v);

is d, appends the v byte array to the d byte array (same as ‘bb_copy’(d, v))

b_copy

data b_copy(data d, data v);

is d, sets the d byte array as v

b_ecopy

data b_ecopy(data d, data v, integer x, integer a);

is d. Sets the d byte array as the first a characters following the x position in the v byte array (negative position indications are interpreted with respect to the end of string) if a are available, as many as available otherwise (much the same as ‘b_cast’(d, ‘b_cut’(v, x, a)) for positively defined x).

b_rule

data b_rule(data d, integer p, data v, integer x, integer a);

is d. Copies the first a characters following the x position in the v byte array at the p position in the d byte array if a are available, as many as available otherwise (negative position indications are interpreted with respect to the end of string). d is overwritten. d is extended as necessary. Much the same as ‘b_patch’(d, p, ‘b_cut’(v, x, a)) for positively defined x.

bb_copy

data bb_copy(data d, data v);

is d, appends the v byte array to the d byte array

bu_copy

data bu_copy(data d, integer u, data v);

is d, inserts the v byte array in the u position in the d byte array (negative position indications are interpreted with respect to the end of string)

See Math And Text Utilities.

See Byte Data Intrinsic String Copy Functions.

See Negative Indices.


Next: , Previous: , Up: The Byte Data Library   [Index]