$38 GRAYBYTE WORDPRESS FILE MANAGER $39

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/ruby18/share/ri/1.8/system/String/

HOME
Current File : /opt/alt/ruby18/share/ri/1.8/system/String//unpack-i.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Decodes <em>str</em> (which may contain binary data) according to the format string, returning an array of each value extracted. The format string consists of a sequence of single-character directives, summarized in the table at the end of this entry. Each directive may be followed by a number, indicating the number of times to repeat with this directive. An asterisk (``<tt>*</tt>'') will use up all remaining elements. The directives <tt>sSiIlL</tt> may each be followed by an underscore (``<tt>_</tt>'') to use the underlying platform's native size for the specified type; otherwise, it uses a platform-independent consistent size. Spaces are ignored in the format string. See also <tt>Array#pack</tt>.
- !ruby/struct:SM::Flow::VERB 
  body: "   &quot;abc \\0\\0abc \\0\\0&quot;.unpack('A6Z6')   #=&gt; [&quot;abc&quot;, &quot;abc &quot;]\n   &quot;abc \\0\\0&quot;.unpack('a3a3')           #=&gt; [&quot;abc&quot;, &quot; \\000\\000&quot;]\n   &quot;abc \\0abc \\0&quot;.unpack('Z*Z*')       #=&gt; [&quot;abc &quot;, &quot;abc &quot;]\n   &quot;aa&quot;.unpack('b8B8')                 #=&gt; [&quot;10000110&quot;, &quot;01100001&quot;]\n   &quot;aaa&quot;.unpack('h2H2c')               #=&gt; [&quot;16&quot;, &quot;61&quot;, 97]\n   &quot;\\xfe\\xff\\xfe\\xff&quot;.unpack('sS')     #=&gt; [-2, 65534]\n   &quot;now=20is&quot;.unpack('M*')             #=&gt; [&quot;now is&quot;]\n   &quot;whole&quot;.unpack('xax2aX2aX1aX2a')    #=&gt; [&quot;h&quot;, &quot;e&quot;, &quot;l&quot;, &quot;l&quot;, &quot;o&quot;]\n"
- !ruby/struct:SM::Flow::P 
  body: This table summarizes the various formats and the Ruby classes returned by each.
- !ruby/struct:SM::Flow::VERB 
  body: "   Format | Returns | Function\n   -------+---------+-----------------------------------------\n     A    | String  | with trailing nulls and spaces removed\n   -------+---------+-----------------------------------------\n     a    | String  | string\n   -------+---------+-----------------------------------------\n     B    | String  | extract bits from each character (msb first)\n   -------+---------+-----------------------------------------\n     b    | String  | extract bits from each character (lsb first)\n   -------+---------+-----------------------------------------\n     C    | Fixnum  | extract a character as an unsigned integer\n   -------+---------+-----------------------------------------\n     c    | Fixnum  | extract a character as an integer\n   -------+---------+-----------------------------------------\n     d,D  | Float   | treat sizeof(double) characters as\n          |         | a native double\n   -------+---------+-----------------------------------------\n     E    | Float   | treat sizeof(double) characters as\n          |         | a double in little-endian byte order\n   -------+---------+-----------------------------------------\n     e    | Float   | treat sizeof(float) characters as\n          |         | a float in little-endian byte order\n   -------+---------+-----------------------------------------\n     f,F  | Float   | treat sizeof(float) characters as\n          |         | a native float\n   -------+---------+-----------------------------------------\n     G    | Float   | treat sizeof(double) characters as\n          |         | a double in network byte order\n   -------+---------+-----------------------------------------\n     g    | Float   | treat sizeof(float) characters as a\n          |         | float in network byte order\n   -------+---------+-----------------------------------------\n     H    | String  | extract hex nibbles from each character\n          |         | (most significant first)\n   -------+---------+-----------------------------------------\n     h    | String  | extract hex nibbles from each character\n          |         | (least significant first)\n   -------+---------+-----------------------------------------\n     I    | Integer | treat sizeof(int) (modified by _)\n          |         | successive characters as an unsigned\n          |         | native integer\n   -------+---------+-----------------------------------------\n     i    | Integer | treat sizeof(int) (modified by _)\n          |         | successive characters as a signed\n          |         | native integer\n   -------+---------+-----------------------------------------\n     L    | Integer | treat four (modified by _) successive\n          |         | characters as an unsigned native\n          |         | long integer\n   -------+---------+-----------------------------------------\n     l    | Integer | treat four (modified by _) successive\n          |         | characters as a signed native\n          |         | long integer\n   -------+---------+-----------------------------------------\n     M    | String  | quoted-printable\n   -------+---------+-----------------------------------------\n     m    | String  | base64-encoded\n   -------+---------+-----------------------------------------\n     N    | Integer | treat four characters as an unsigned\n          |         | long in network byte order\n   -------+---------+-----------------------------------------\n     n    | Fixnum  | treat two characters as an unsigned\n          |         | short in network byte order\n   -------+---------+-----------------------------------------\n     P    | String  | treat sizeof(char *) characters as a\n          |         | pointer, and  return \\emph{len} characters\n          |         | from the referenced location\n   -------+---------+-----------------------------------------\n     p    | String  | treat sizeof(char *) characters as a\n          |         | pointer to a  null-terminated string\n   -------+---------+-----------------------------------------\n     Q    | Integer | treat 8 characters as an unsigned\n          |         | quad word (64 bits)\n   -------+---------+-----------------------------------------\n     q    | Integer | treat 8 characters as a signed\n          |         | quad word (64 bits)\n   -------+---------+-----------------------------------------\n     S    | Fixnum  | treat two (different if _ used)\n          |         | successive characters as an unsigned\n          |         | short in native byte order\n   -------+---------+-----------------------------------------\n     s    | Fixnum  | Treat two (different if _ used)\n          |         | successive characters as a signed short\n          |         | in native byte order\n   -------+---------+-----------------------------------------\n     U    | Integer | UTF-8 characters as unsigned integers\n   -------+---------+-----------------------------------------\n     u    | String  | UU-encoded\n   -------+---------+-----------------------------------------\n     V    | Fixnum  | treat four characters as an unsigned\n          |         | long in little-endian byte order\n   -------+---------+-----------------------------------------\n     v    | Fixnum  | treat two characters as an unsigned\n          |         | short in little-endian byte order\n   -------+---------+-----------------------------------------\n     w    | Integer | BER-compressed integer (see Array.pack)\n   -------+---------+-----------------------------------------\n     X    | ---     | skip backward one character\n   -------+---------+-----------------------------------------\n     x    | ---     | skip forward one character\n   -------+---------+-----------------------------------------\n     Z    | String  | with trailing nulls removed\n          |         | upto first null with *\n   -------+---------+-----------------------------------------\n     @    | ---     | skip to the offset given by the\n          |         | length argument\n   -------+---------+-----------------------------------------\n"
full_name: String#unpack
is_singleton: false
name: unpack
params: |
  str.unpack(format)   => anArray

visibility: public


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.50 PM
root / linksafe
0755
%25-i.yaml
0.733 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
%2a-i.yaml
0.403 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
%2b-i.yaml
0.438 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
%3c%3c-i.yaml
0.649 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
%3c%3d%3e-i.yaml
1.392 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
%3d%3d-i.yaml
0.389 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
%3d%7e-i.yaml
0.674 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
%5b%5d%3d-i.yaml
1.212 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
%5b%5d-i.yaml
2.367 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
_expand_ch-i.yaml
0.174 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
_regex_quote-i.yaml
0.178 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
block_scanf-i.yaml
0.203 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
bytes-i.yaml
0.494 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
bytesize-i.yaml
0.262 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
capitalize%21-i.yaml
0.567 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
capitalize-i.yaml
0.563 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
casecmp-i.yaml
0.58 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
cdesc-String.yaml
8.301 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
center-i.yaml
0.709 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
chars-i.yaml
0.527 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
chomp%21-i.yaml
0.378 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
chomp-i.yaml
1.05 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
chop%21-i.yaml
0.16 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
chop-i.yaml
0.158 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
concat-i.yaml
0.655 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
count-i.yaml
0.777 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
crypt-i.yaml
0.456 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
delete%21-i.yaml
0.167 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
delete-i.yaml
0.774 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
downcase%21-i.yaml
0.32 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
downcase-i.yaml
0.507 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
dump-i.yaml
0.352 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
each-i.yaml
1.195 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
each_byte-i.yaml
0.508 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
each_char-i.yaml
0.501 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
each_line-i.yaml
1.205 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
empty%3f-i.yaml
0.413 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
end_regexp-i.yaml
0.17 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
end_with%3f-i.yaml
0.304 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
eql%3f-i.yaml
0.291 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
expand_ch_hash-i.yaml
0.187 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
gsub%21-i.yaml
0.437 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
gsub-i.yaml
1.789 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
hash-i.yaml
0.271 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
hex-i.yaml
0.599 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
include%3f-i.yaml
0.571 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
index-i.yaml
0.933 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
initialize_copy-i.yaml
0.509 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
insert-i.yaml
0.867 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
inspect-i.yaml
0.434 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
intern-i.yaml
0.859 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
is_binary_data%3f-i.yaml
0.18 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
is_complex_yaml%3f-i.yaml
0.182 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
iseuc-i.yaml
0.374 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
issjis-i.yaml
0.38 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
isutf8-i.yaml
0.376 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
jcount-i.yaml
0.165 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
jlength-i.yaml
0.204 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
jsize-i.yaml
0.216 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
kconv-i.yaml
0.53 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
length-i.yaml
0.258 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
lines-i.yaml
0.627 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
ljust-i.yaml
0.722 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
lstrip%21-i.yaml
0.525 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
lstrip-i.yaml
0.503 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
match-i.yaml
0.623 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
mbchar%3f-i.yaml
0.164 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
new-c.yaml
0.286 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
next%21-i.yaml
0.307 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
next-i.yaml
1.271 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
oct-i.yaml
0.576 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
original_succ%21-i.yaml
0.232 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
original_succ-i.yaml
0.229 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
partition-i.yaml
0.748 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
replace-i.yaml
0.493 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
reverse%21-i.yaml
0.256 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
reverse-i.yaml
0.403 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
rindex-i.yaml
0.986 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
rjust-i.yaml
0.723 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
rpartition-i.yaml
0.722 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
rstrip%21-i.yaml
0.526 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
rstrip-i.yaml
0.504 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
scan-i.yaml
1.534 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
scanf-i.yaml
0.167 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
shellescape-i.yaml
0.357 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
shellsplit-i.yaml
0.357 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
size-i.yaml
0.254 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
slice%21-i.yaml
1.089 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
slice-i.yaml
2.371 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
split-i.yaml
2.828 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
squeeze%21-i.yaml
0.173 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
squeeze-i.yaml
0.877 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
start_with%3f-i.yaml
0.312 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
strip%21-i.yaml
0.336 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
strip-i.yaml
0.464 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
sub%21-i.yaml
0.436 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
sub-i.yaml
1.693 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
succ%21-i.yaml
0.355 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
succ-i.yaml
0.158 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
sum-i.yaml
0.515 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
swapcase%21-i.yaml
0.372 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
swapcase-i.yaml
0.54 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
to_f-i.yaml
0.685 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
to_i-i.yaml
1.02 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
to_s-i.yaml
0.258 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
to_str-i.yaml
0.262 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
to_sym-i.yaml
0.859 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
to_yaml-i.yaml
0.175 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
toeuc-i.yaml
0.438 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
tojis-i.yaml
0.443 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
tosjis-i.yaml
0.444 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
toutf16-i.yaml
0.446 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
toutf8-i.yaml
0.44 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
tr%21-i.yaml
0.372 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
tr-i.yaml
0.926 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
tr_s%21-i.yaml
0.369 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
tr_s-i.yaml
0.166 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
unpack-i.yaml
7.831 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
upcase%21-i.yaml
0.313 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
upcase-i.yaml
0.499 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
upto-i.yaml
0.914 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
yaml_new-c.yaml
0.183 KB
26 Jul 2023 1.47 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF