Issue 262 in glassdb: ByteArray>>#hex results in error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 262 in glassdb: ByteArray>>#hex results in error

glassdb
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium GLASS-Server Version-GLASS0.231

New issue 262 by [hidden email]: ByteArray>>#hex results in error
http://code.google.com/p/glassdb/issues/detail?id=262

What steps will reproduce the problem?
1. In GLASS workspace print:
(ByteArray fromString: 'Hello') hex
2.
3.

What is the expected output? What do you see instead?
(ByteArray fromString:'Hello') asHexString

What version of the product are you using? On what operating system?
GLASS 2.4.4.1

Please provide any additional information below.


Reply | Threaded
Open this post in threaded view
|

Re: Issue 262 in glassdb: ByteArray>>#hex results in error

glassdb
Updates:
        Labels: Milestone-1.0-beta.8.7

Comment #1 on issue 262 by [hidden email]: ByteArray>>#hex results in  
error
http://code.google.com/p/glassdb/issues/detail?id=262

(No comment was entered for this change.)

Reply | Threaded
Open this post in threaded view
|

Re: Issue 262 in glassdb: ByteArray>>#hex results in error

glassdb

Comment #2 on issue 262 by [hidden email]: ByteArray>>#hex results  
in error
http://code.google.com/p/glassdb/issues/detail?id=262

Paul,

{
   (ByteArray fromString: 'Hello') hex.
   (ByteArray fromString:'Hello') asHexString.
}

produces:

{
   '48656c6c6f'.
   '48656C6C6F'.
}

and

   'Hello' asByteArray hex.

matches the Pharo implementation.

Are you expecting #asHexString and #hex to produce the same results?

Reply | Threaded
Open this post in threaded view
|

Re: Issue 262 in glassdb: ByteArray>>#hex results in error

glassdb
Updates:
        Labels: -Milestone-1.0-beta.8.7

Comment #3 on issue 262 by [hidden email]: ByteArray>>#hex results  
in error
http://code.google.com/p/glassdb/issues/detail?id=262

Wait for Paul to respond...