4 BEGIN { bytes::import() }
5 return CORE::length($_[0]);
9 BEGIN { bytes::import() }
11 @_ == 2 ? CORE::substr($_[0], $_[1]) :
12 @_ == 3 ? CORE::substr($_[0], $_[1], $_[2]) :
13 CORE::substr($_[0], $_[1], $_[2], $_[3]) ;
17 BEGIN { bytes::import() }
18 return CORE::ord($_[0]);
22 BEGIN { bytes::import() }
23 return CORE::chr($_[0]);
27 BEGIN { bytes::import() }
29 @_ == 2 ? CORE::index($_[0], $_[1]) :
30 CORE::index($_[0], $_[1], $_[2]) ;
34 BEGIN { bytes::import() }
36 @_ == 2 ? CORE::rindex($_[0], $_[1]) :
37 CORE::rindex($_[0], $_[1], $_[2]) ;