[YANGTOOLS-30] Implement 'length' Created: 30/Sep/13  Updated: 10/Apr/22  Resolved: 14/Nov/13

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Dana Kutenicsova Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 93
Priority: High

 Description   

Implement 'length' statement for binary.



 Comments   
Comment by Robert Varga [ 05/Nov/13 ]

Specifically, classes generated from a typedef based from the binary type should enforce the length requirement in their constructor.

Comment by Martin Vitez [ 14/Nov/13 ]

Implemented length statement:
https://git.opendaylight.org/gerrit/#/c/2444/

Added static getLength method to classes generated from typedef statement:
https://git.opendaylight.org/gerrit/#/c/2616/

Added check for valid length to typedef constructors:
https://git.opendaylight.org/gerrit/#/c/2646/

Generated at Wed Feb 07 20:52:04 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.