frostfs-api-go/service/v2/marshal.go
Alex Vanin 0ae952fcc6 Add stable marshal of meta & verify headers
It uses unstable implementation for now.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:40:07 +03:00

21 lines
463 B
Go

package v2
func (m *RequestMetaHeader) StableMarshal(buf []byte) ([]byte, error) {
// fixme: implement stable
return m.Marshal()
}
func (m *RequestMetaHeader) StableSize() int {
// fixme: implement stable
return m.Size()
}
func (m *RequestVerificationHeader) StableMarshal(buf []byte) ([]byte, error) {
// fixme: implement stable
return m.Marshal()
}
func (m *RequestVerificationHeader) StableSize() int {
// fixme: implement stable
return m.Size()
}