MCPcopy Create free account
hub / github.com/apache/avro / asciiString

Method asciiString

lang/php/lib/AvroDebug.php:130–133  ·  view source on GitHub ↗

* @param string $str * @param string $format one of 'ctrl', 'hex', or 'dec'. * See self::asciiArray() for more description * @param string $joiner * @returns string of bytes joined by $joiner * @uses asciiArray() */

($str, $format = 'ctrl', $joiner = ' ')

Source from the content-addressed store, hash-verified

128 * @uses asciiArray()
129 */
130 public static function asciiString($str, $format = 'ctrl', $joiner = ' ')
131 {
132 return implode($joiner, self::asciiArray($str, $format));
133 }
134
135 /**
136 * @param string $str

Callers 2

test_string_repMethod · 0.80
test_datum_round_tripMethod · 0.80

Calls 1

asciiArrayMethod · 0.95

Tested by 2

test_string_repMethod · 0.64
test_datum_round_tripMethod · 0.64