private static   UInt29 U29_4ReadFrom(IDataReader reader, UInt29 val)
        {
            var readByte = reader.ReadByte();

          return (val << 8) | readByte;
        }
        private static  Tuple<bool, UInt29> U29_3ReadFrom(IDataReader reader,  UInt29 val)
        {
            var readByte = reader.ReadByte();

            val = (val << 7) | (readByte & 0x7Fu);

            return Tuple.Create(readByte <= 0x7Fu, val);
        }
 private void readRemainIndexOrLength()
 {
     this.remainIndexOrLength_ = readUInt29();
 }
 private void resetRemainIndex()
 {
     this.remainIndexOrLength_ = 0x01;
 }
 internal static InvalidOperationException CreateInvalidLengthValueException(UInt29 value)
 {
     return new InvalidOperationException(string.Format(Languages.Language.CreateInvalidLengthValueExceptionMessageFormat, value));
 }
 internal static InvalidOperationException CreateInvalidRemainingValueException(UInt29 value)
 {
     return new InvalidOperationException(string.Format(Languages.Language.InvalidRemainingValueErrorMessageFormat, value));
 }