Lines Matching refs:width
160 var width = field.Width; in TryDecode()
161 if(offset + width > data.Count) in TryDecode()
165 if(width == 0) in TryDecode()
170 var v = new byte[width]; in TryDecode()
171 for(var i = 0; i < width; i++) in TryDecode()
177 offset += width; in TryDecode()
321 var width = field.Width; in EncodeInner()
322 if(width == 0) in EncodeInner()
332 val = new byte[width]; in EncodeInner()
335 if(width != val.Length) in EncodeInner()
337 …umentException("Declared and actual width is different: {0} vs {1}".FormatWith(width, val.Length)); in EncodeInner()
340 Array.Copy(val, 0, result, offset, width); in EncodeInner()
341 offset += width; in EncodeInner()
597 var width = inBytes << 3;
603 if(setWidth > width)
607 return setWidth ?? width;