logo-MindMajix
PostGoLangGoLang
H
Harshel Mike

Posted on 13th June 2024|45 views

0
votes

Golang Convert Byte Array To String

What are the ways to convert byte array to string in GoLang

1 answers
Answers
P
Anusha V

Posted on 13th June 2024| views

When we convert a byte array to string, we will get the same bytes as a string.

 Example:

 c := []byte(‘EFGH”)
 fmt.println(c)


 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo

  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos
Name
Course *
Email *
Phone Number