Skip to content
Discussion options

You must be logged in to vote

This library is AMAZING!!! The solution was Pref: prefix.None.Fixed. This skipped the prefix while still encoding the data as variable length field.

"1": field.NewString(&field.Spec{
	Length:      50,
	Description: `Subfield 1`,
	Enc:         encoding.ASCII,
	Pref:        prefix.None.Fixed,
}),

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kamenlitchev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants