public void SetManufacturerCode(byte[] src, int srcOffset) { const int length = 3; if (srcOffset < 0 || srcOffset > (src.Length - length)) { throw new IndexOutOfRangeException("srcOffset out of range for copy: offset=" + srcOffset); } _buffer.SetBytes(_offset + 3, src, srcOffset, length); }