Invalid packee for pack format "B"


#1

Yuguie$B$G$9!#e(B

pack format
"B"e$B$K$*$$$F!"Fs?JI=5-$G$J$$Ho%Q%C%/J8;zNs$r<uM}$9$k$N$O;EMMe(B
e$B$G$7$g$&$+!#e(B

[“bcde”].pack(“B*”) == [“0101”].pack(“B*”) #=> true


#2

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:37279] invalid packee for pack format “B””
on Fri, 5 Dec 2008 12:17:13 +0900, “Yugui (Yuki S.)”
removed_email_address@domain.invalid writes:

|pack format “B"e$B$K$$$$F!"Fs?JI=5-$G$J$$Ho%Q%C%/J8;zNs$r<uM}$9$k$N$O;EMMe(B
|e$B$G$7$g$&$+!#e(B
|
|[“bcde”].pack("B
”) == [“0101”].pack(“B*”) #=> true

e$B!V;EMM!W$H$$$&C18l$O$$$m$$$m$J0UL#$r4^$`$N$G$3$3$G$OHr$1$k$3e(B
e$B$H$H$7$^$9!#!V0U?^E*!W$+$I$&$+$H?R$M$i$l$k$H!V$O$$!W$HEz$($^e(B
e$B$9!#$3$l$Oe(BPerle$B$+$i7Q>5$7$?$b$N$G$9!#e(B

e$B$3$l$rJQ$($k$H$9$k$He(B0e$B$+e(B1e$B$G$J$1$l$P%(%i!<$K$9$k$N$G$7$g$&$+!#e(B


#3

Yuguie$B$G$9!#e(B

Yukihiro M. e$B$5$s$O=q$-$^$7$?e(B:

e$B!V0U?^E*!W$+$I$&$+$H?R$M$i$l$k$H!V$O$$!W$HEz$($^e(B
e$B$9!#$3$l$Oe(BPerle$B$+$i7Q>5$7$?$b$N$G$9!#e(B

e$B$J$k$[$I!#$A$g$C$H0U30$G$7$?$,!"$=$&$$$&$3$H$J$i@Q6KE*$KF0:n$rJQ99$9$Y$-e(B
e$B$H$O;W$$$^$;$s!#e(B