Bug 4859 - Value uses ArrayByteBuffer's order and not the types.
Summary: Value uses ArrayByteBuffer's order and not the types.
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-27 21:40 UTC by Nurdin Premji
Modified: 2007-07-27 21:40 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nurdin Premji 2007-07-27 21:40:15 UTC
When creating a new value I have to do something like:

ArrayByteBuffer buffer = new ArrayByteBuffer(word);
	buffer.order(register.type.getEndian());
	return new Value(register.type, register.name, buffer);

should not need to set the buffer's order as well.