File: marshal.go

package info (click to toggle)
golang-github-geoffgarside-ber 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 180 kB
  • sloc: makefile: 2
file content (8 lines) | stat: -rw-r--r-- 156 bytes parent folder | download
1
2
3
4
5
6
7
8
package ber

import "encoding/asn1"

// Marshal wraps the asn1.Marshal function
func Marshal(val interface{}) ([]byte, error) {
	return asn1.Marshal(val)
}