func readUInt64()

in Sources/TwitterApacheThrift/ThriftBinary.swift [96:109]


    func readUInt64() throws -> UInt64 {
        let i64rd = try readingBuffer.read(size: 8)

        let byte56 = UInt64(i64rd[0]) << 56
        let byte48 = UInt64(i64rd[1]) << 48
        let byte40 = UInt64(i64rd[2]) << 40
        let byte32 = UInt64(i64rd[3]) << 32
        let byte24 = UInt64(i64rd[4]) << 24
        let byte16 = UInt64(i64rd[5]) << 16
        let byte8 = UInt64(i64rd[6]) << 8
        let byte0 = UInt64(i64rd[7]) << 0

        return (byte56 | byte48 | byte40 | byte32 | byte24 | byte16 | byte8 | byte0)
    }