Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328129 - add support for literal byte array
Summary: add support for literal byte array
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: b3 (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-19 10:07 EDT by Henrik Lindberg CLA
Modified: 2017-09-13 11:51 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.