{"modulePath":"github.com/lasthyphen/binary","version":"v0.0.0-20220615154153-cb9e034e4fce","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package linearcodec\n\n## Types\n\n```go\ntype Codec interface {\n\tcodec.Registry\n\tcodec.Codec\n\tSkipRegistrations(int)\n}\n```\nCodec marshals and unmarshals\n\n```go\nfunc New(tagNames []string, maxSliceLen uint32) Codec\n```\nNew returns a new, concurrency-safe codec; it allow to specify both tagNames and maxSlicelenght\n\n```go\nfunc NewCustomMaxLength(maxSliceLen uint32) Codec\n```\nNewCustomMaxLength is a convenience constructor; it returns a new codec with custom max length and default tags\n\n```go\nfunc NewDefault() Codec\n```\nNewDefault is a convenience constructor; it returns a new codec with reasonable default values\n\n","path":"github.com/lasthyphen/binary/codec/linearcodec","name":"linearcodec","synopsis":"","isRedistributable":true}
