Answer the question
In order to leave comments, you need to log in
From swift to JavaScript?
I roughly understand how it will look like in js, but I'm not sure enough. Help me convert to JS from SWIFT
let message: [UInt8] = [
0x01,
21,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
UInt8(target & 0xFF),
UInt8(target >> 8 & 0xFF)
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question