Changes between Initial Version and Version 1 of Ticket #119, comment 16
- Timestamp:
- May 15, 2014, 9:21:42 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #119, comment 16
initial v1 1 1 Wait, this is what casting is about: converting one types into others. You can convert char into octet without any problem (try {{{"select (octet) 128"}}}), the result should be 127 because of overflow. This is how it works now for base types, so I think it should work in the same way for attributes of structures. 2 2 3 decode($1) also returns structure of chars, which is later converted to structure of octets (TestPixel), and this works for you as well.3 `decode($1)` also returns structure of chars, which is later converted to structure of octets (`TestPixel`), and this works for you as well.