Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ranaaditya/tbcd
Basic Implementation of Telephony BCD in pure GoLang
https://github.com/ranaaditya/tbcd
3gpp bcd epc hacktoberfest lte mobile-networking mobility-engineering rfcs standards tbcd
Last synced: about 1 month ago
JSON representation
Basic Implementation of Telephony BCD in pure GoLang
- Host: GitHub
- URL: https://github.com/ranaaditya/tbcd
- Owner: ranaaditya
- License: mit
- Created: 2021-06-14T07:26:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-24T14:38:29.000Z (over 2 years ago)
- Last Synced: 2024-10-14T00:07:38.532Z (2 months ago)
- Topics: 3gpp, bcd, epc, hacktoberfest, lte, mobile-networking, mobility-engineering, rfcs, standards, tbcd
- Language: Go
- Homepage: https://pkg.go.dev/github.com/ranaaditya/tbcd
- Size: 10.7 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tbcd
Basic Implementation of Telephony BCD in pure GoLang[![forthebadge](https://forthebadge.com/images/badges/made-with-go.svg)](https://forthebadge.com)
[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com)
[![forthebadge](https://forthebadge.com/images/badges/open-source.svg)](https://forthebadge.com)### Building from source
Requires Go to be [installed](https://golang.org/doc/install) and [configured](https://golang.org/doc/install#testing)
```bash
go get github.com/ranaaditya/tbcd
```
### Usage
```golang
package mainimport tbcd "github.com/ranaaditya/tbcd"
func main() {
var message string = "0123456789*#abc"
encodedmessage, err := tbcd.EncodeToTBCD(message)if err == nil {
fmt.Println("Encoded Message in TBCD format is :", encodedmessage)
} else {
fmt.Println(err)
}originalmessage, err1 := tbcd.DecodeToTBCD(encodedmessage)
if err1 == nil {
fmt.Println("Decoded message is :", originalmessage)
} else {
fmt.Println(err1)
}}
```#### Get it on [pkg.go.dev](https://pkg.go.dev/github.com/ranaaditya/tbcd)