# `readHex`

*Function*

## Declaration

```swift
func readHex(_ line: UnsafePointer<CChar>!, _ pos: UnsafeMutablePointer<UInt>!) -> Int
```

```objc
NSInteger readHex(const char *line, NSUInteger *pos);
```

```python
readHex(line: str, pos: int) -> int
```

## See Also

### Values

- [`String2Float`](/Core/GlyphsCore/String2Float)
- [`readInt`](/Core/GlyphsCore/readInt)
- [`readFloat`](/Core/GlyphsCore/readFloat)
- [`readFloatList`](/Core/GlyphsCore/readFloatList)
- [`readIntList`](/Core/GlyphsCore/readIntList)
- [`readPoint`](/Core/GlyphsCore/readPoint)
- [`readColor`](/Core/GlyphsCore/readColor)
- [`readDate`](/Core/GlyphsCore/readDate)
- [`dateFromString`](/Core/GlyphsCore/dateFromString)
- [`readTransformation`](/Core/GlyphsCore/readTransformation)

