[71] Results

Golang : Convert IP version 6 address to integer or decimal number

golang ip-version-6 integer decimal-number

Problem :

You have IP address version 6 in string format and you want to convert it into integer. How….... read more

Swift : Convert (cast) Float to Int or Int32 value

swift int convert float int32

Problem :

How to convert float variable value to type integer in Swift programming language?

Solution :

Use the Int().... read more

Golang : Convert slice to array

golang slice array convert copy

For new comer to Golang, slice and array can be confusing sometimes. In a nutshell, a slice length(size) is flexible….... read more

Golang : Humanize and Titleize functions

golang humanize convert titleize

Humanize function takes multiple words separated by a given separator and changes them to spaces. Titleize converts a given string….... read more

Swift : Convert (cast) String to Float

swift string convert float

Problem :

You have a string value and you need to convert the string into type float.

Solution :

Use….... read more

Golang : Convert source code to assembly language

golang assembly convert

If you ever have the urge to convert your Golang source code to assembly language, check out this online tool….... read more

Golang : Convert []byte to image

golang image convert byte

There are times when you need to convert []byte to image for saving into file purpose. I encountered one of….... read more

Golang : Convert(cast) bigint to string

convert casting bigint string

Problem :

You want to convert(cast) a big integer value to string for display.

Solution :

Use big.Int.String() function to….... read more