func readInt32()

in Sources/TwitterApacheThrift/ThriftBinary.swift [122:131]


    func readInt32() throws -> Int32 {
        let i32rd = try readingBuffer.read(size: 4)

        let byte24 = Int32(i32rd[0]) << 24
        let byte16 = Int32(i32rd[1]) << 16
        let byte8 = Int32(i32rd[2]) << 8
        let byte0 = Int32(i32rd[3]) << 0

        return (byte24 | byte16 | byte8 | byte0)
    }