Find Jobs
Hire Freelancers

Java Code to Node Js or PHP Function

$10-30 USD

Lukket
Slået op over 1 år siden

$10-30 USD

Betales ved levering
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(); }
Projekt-ID: 35432736

Om projektet

12 forslag
Projekt på afstand
Aktiv 1 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
12 freelancere byder i gennemsnit $21 USD på dette job
Brug Avatar.
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 på 1 dag
5,0 (84 anmeldelser)
6,6
6,6
Brug Avatar.
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 på 7 dage
5,0 (34 anmeldelser)
6,1
6,1
Brug Avatar.
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 på 4 dage
4,9 (9 anmeldelser)
5,0
5,0
Brug Avatar.
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 på 7 dage
5,0 (8 anmeldelser)
5,0
5,0
Brug Avatar.
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 på 7 dage
5,0 (14 anmeldelser)
4,3
4,3
Brug Avatar.
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 på 7 dage
4,9 (19 anmeldelser)
4,1
4,1
Brug Avatar.
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 på 5 dage
5,0 (13 anmeldelser)
4,1
4,1
Brug Avatar.
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 på 7 dage
0,0 (0 anmeldelser)
0,0
0,0
Brug Avatar.
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 på 1 dag
0,0 (0 anmeldelser)
0,0
0,0
Brug Avatar.
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 på 6 dage
0,0 (0 anmeldelser)
0,0
0,0

Om klienten

Flag for INDIA
Lucknow, India
5,0
1
Betalingsmetode verificeret
Medlem siden maj 17, 2022

Klientverificering

Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.