 
     // UInt16
     convenience init(uint16ToLittle value:UInt16) {
-        self.init(bytes:[uint16HostToLittle(value)], length:1)
+        self.init(bytes:[uint16HostToLittle(value)], length:2)
     }
     
     convenience init(uint16ArrayToLittle values:UInt16[]) {

        return int16BigToHost(value)
    }
    
    // string value
    func hexStringValue() -> String {
        var dataBytes = Array<Byte>(count:self.length, repeatedValue:0x0)
        self.getBytes(&dataBytes, length:self.length)

    }
}

var test = NSData(int16ToBig:1000)
test.hexStringValue()
println(test.int16FromLittleValue())
