The serialization logic for KBFS. The package is named kbfscodec
rather than codec
for two reasons:
- We already have a
keybase/go-codec/codec
that is commonly used. - A lot of variables are named
codec
already.
All errors returned by this package are wrapped with pkg/errors, and so need errors.Cause() to unwrap them.