Skip to content

albenik/bcd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6352014 · Aug 31, 2017

History

4 Commits
Jun 25, 2017
Jun 25, 2017
Jun 25, 2017
Aug 31, 2017
Jun 25, 2017

Repository files navigation

bcd

Build Status GoDoc

Go implementation of BCD conversion functions

Usage

package main

import (
	"fmt"
	"github.com/albenik/bcd"
)

func main() {
	fmt.Printf("Uint32: %d", bcd.ToUint32([]byte{0x11, 0x22, 0x33, 0x44}))
	fmt.Printf("BCD: %x", bcd.FromUint32(11223344))
}

Documentation

For more documentation see package documentation

About

Go int to bcd conversion library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages