Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328129

Summary: add support for literal byte array
Product: z_Archived Reporter: Henrik Lindberg <henrik.lindberg>
Component: b3Assignee: Project Inbox <b3.engine-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Henrik Lindberg CLA 2010-10-19 10:07:46 EDT
Add a literal byte array. Suggested syntax is:
#[ 2digithex* ]

e.g. #[000aef0142];
Comment 1 Henrik Lindberg CLA 2010-10-21 18:07:50 EDT
Support added. Two forms are available:
#[2digithexsequence]
##[Bas64encoded]

The underlying result is byte[] for both.
Also added an equals(byte[], byte[]) system function.
Comment 2 Henrik Lindberg CLA 2010-10-21 18:40:21 EDT
Test also added to testsuite.