             return nil
         }
 
-        if let  string = String(data: data, encoding: encoding),
+        if let  string = String(bytes: data, encoding: encoding),
                 string.characters.count > 0
         {
             data.removeAll()

        if(firstData) {
            firstData = false
            skipBytes = try analyzeBOM()
        }

        data.append(contentsOf: buffer[skipBytes ..< count])
    }
    
    /**

    let dataUnitSize:           Int
    

    var data:                   [UInt8]
    var buffer:                 [UInt8]
    var encoding:               String.Encoding
    var firstData:              Bool
