Find Jobs
Hire Freelancers

Java Code to Node Js or PHP Function

$10-30 USD

Zaprt
Objavljeno pred več kot 1 letom

$10-30 USD

Plačilo ob dostavi
Convert code from java to php or node js equivalent function runnable Java function public static byte[] hexStringToBytes(String hexString) { if (hexString == null || [login to view URL]("")) { return null; } hexString = [login to view URL](); char[] hexCharacter = [login to view URL](); for (int i = 0; i < [login to view URL]; i++) { if (-1 == charToByte(hexCharacter[i])) { return null; } } int length = [login to view URL]() / 2; char[] hexChars = [login to view URL](); byte[] d = new byte[length]; for (int i = 0; i < length; i++) { int pos = i * 2; d[i] = (byte) (charToByte(hexChars[pos]) << 4 | charToByte(hexChars[pos + 1])); } return d; } public static byte charToByte(char c) { return (byte) "0123456789ABCDEF".indexOf(c); } public static String bytesToHexString(byte[] src){ StringBuilder stringBuilder = new StringBuilder(""); if (src == null || [login to view URL] <= 0) { return null; } for (int i = 0; i < [login to view URL]; i++) { int v = src[i] & 0xFF; String hv = [login to view URL](v); if ([login to view URL]() < 2) { [login to view URL](0); } [login to view URL](hv); } return [login to view URL](); } public static float signedBytes2Float(byte byHeight, byte byLow) { float nTempPointLeft = byHeight; int nTempPointRight = (byLow & 0xFF); float fTempPointRight = ((float)nTempPointRight) / 256; float result; if (nTempPointLeft < 0) { result = nTempPointLeft - fTempPointRight; } else { result = nTempPointLeft + fTempPointRight; } BigDecimal bigTemp = new BigDecimal(result); return [login to view URL](2, BigDecimal.ROUND_HALF_UP).floatValue(); }
ID projekta: 35432736

Več o projektu

12 ponudb
Projekt na daljavo
Aktivno pred 1 letom

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
12 freelancerjev je oddalo ponudbo s povprečno vrednostjo $21 USD za to delo
Avatar uporabnika
Hi, I'm an experienced PHP developer. I can convert Java code into PHP. I need some sample input and output values for the following functions: hexStringToBytes bytesToHexString signedBytes2Float If you'd like to discuss your project with me, feel free to send me a message even when I appear offline. I typically reply within a few minutes when online and in a few hours when offline.
$20 USD v 1 dnevu
5,0 (84 ocen)
6,6
6,6
Avatar uporabnika
Hello, I Develop PHP Websites from scratch or Customize the existing one or Fix errors for your current website in Laravel, CodeIgniter, WordPress, Ecommerce, Core PHP. What Do I Offer? PHP Scripting Front End Development/Customization Back End Development/Customization Responsive Design Bug Free/Clean Coding API Development API Integration UI/UX Design I can resolve:- Adding New Custom Functionalities Errors/Bugs Fixing Scripts Installation Database Integration Manage Cron jobs/task scheduling Payment Gateway (PayPal, Stripe, Payfast & many more.. ) What Technologies do I Work In? PHP MySQL Laravel CodeIgniter Wordpress WooCommerce Ecommerce HTML5 CSS3 Bootstrap Javascript Jquery Happy to have a quick chat or call to assist better. Look forward to hiring back. Cheers..!!
$20 USD v 7 dneh
5,0 (34 ocen)
6,1
6,1
Avatar uporabnika
Hello there. I will not write a long paragraph to inspire you. Just want to inform you that I have a huge background in this niche. I can advise you on everything from start to end in your case. I can complete the project in less than its required time. Discussion is always free, please let me know if my profile looks a match, and we can decide a time to talk. The proposed cost is estimate. I could give you an exact figure, timeframe, and what I expect to be able to accomplish if we talk. Thank you for reviewing my proposal. Looking forward to starting this project with you! Best Regards,
$35 USD v 4 dneh
4,9 (9 ocen)
5,0
5,0
Avatar uporabnika
Hello, Thanks for posting. I have rich experience for both of Java and PHP/Node.Js. I offer the fastest job.I hope to work with you. Thanks.
$20 USD v 7 dneh
5,0 (8 ocen)
5,0
5,0
Avatar uporabnika
Dear Client. How are you? I am an expert with rich experience in PHP, HTML, Node.js, React, Bootstrap, Express... I'm interested in your website and I'm sure you can get the best results for your needs. I would really like to have the opportunity to work with you. If you need to discuss with me, feel free to knock on me. Looking forward to hearing from you very soon. . Thank you
$20 USD v 7 dneh
5,0 (14 ocen)
4,3
4,3
Avatar uporabnika
Hi, there I have read your job posting very carefully and I understood what you want. I am 4+ years experienced expert of Full Stack React.js and Node.js and its related technologies such as Java Script, AngularJS, Express JS, Website designing, TypeScript, SEO, UX/UI design, J Query, MySQL, Bootstrap, HTML5, CSS3, Google Maps API, REST APIs etc. I'm familiar with agile project management tools including Slack, JIRA, Trello, Bitbucket, Github etc. I’ll show you my past work when we connect. So go ahead and shoot me a quick message/call here on Freelancer so we can chat a bit more about the project. I am available to start this project right now, I can work. I ensure the highest quality of product and 100% satisfaction through my work. Thanks & regards Lokesh
$20 USD v 7 dneh
4,9 (19 ocen)
4,1
4,1
Avatar uporabnika
Hi! Done, finished the conversion of the 4 function to Javascript (Node.js) while going through the code! Can share proof. I come with over a decade of experience with programming, Javascript is just more widely used. Hope to hear from you, Roland
$20 USD v 5 dneh
5,0 (13 ocen)
4,1
4,1
Avatar uporabnika
I'm a final year student who has a experience of almost 5 years on working of the java language. I've also learnt PHP and also done a project on this language. I'm also solving problems on Data Structures and Algorithms so i'm a good problem solver and can do this work in a more efficient way.
$20 USD v 7 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
Hello I am mastering in Java, Node js and PHP. I can help you. I can complete this task for shortest time. Best regards
$20 USD v 1 dnevu
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
my experience and work makes me best for this work and to provide you the best output. Rest you will get to know after seeing my work.
$21 USD v 6 dneh
0,0 (0 ocen)
0,0
0,0

O stranki

Zastava INDIA
Lucknow, India
5,0
1
Plačilna metoda je verificirana
Član(ica) od maj 17, 2022

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.