⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.13
Server IP:
109.199.105.153
Server:
Linux connect.inboxifs.com 5.15.0-152-generic #162-Ubuntu SMP Wed Jul 23 09:48:42 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
String
/
View File Name :
byteslice-i.ri
U:RDoc::AnyMethod[iI"byteslice:ETI"String#byteslice;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"<Byte Reference---If passed a single Integer, returns a ;TI"Csubstring of one byte at that position. If passed two Integer ;TI"Qobjects, returns a substring starting at the offset given by the first, and ;TI"La length given by the second. If given a Range, a substring containing ;TI"Mbytes at offsets given by the range is returned. In all three cases, if ;TI"Nan offset is negative, it is counted from the end of <i>str</i>. Returns ;TI"Q<code>nil</code> if the initial offset falls outside the string, the length ;TI"Iis negative, or the beginning of the range is greater than the end. ;TI"AThe encoding of the resulted string keeps original encoding.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"&"hello".byteslice(1) #=> "e" ;TI"&"hello".byteslice(-1) #=> "o" ;TI"'"hello".byteslice(1, 2) #=> "el" ;TI"/"\x80\u3042".byteslice(1, 3) #=> "\u3042" ;TI"2"\x03\u3042\xff".byteslice(1..3) #=> "\u3042";T:@format0: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"�str.byteslice(integer) -> new_str or nil str.byteslice(integer, integer) -> new_str or nil str.byteslice(range) -> new_str or nil ;T0[ I"(*args);T@FI"String;TcRDoc::NormalClass00