frostfs-api-go/service/v2/signature.go

18 lines
391 B
Go
Raw Normal View History

package v2
func (m *RequestMetaHeader) ReadSignedData(buf []byte) ([]byte, error) {
return m.StableMarshal(buf)
}
func (m *RequestMetaHeader) SignedDataSize() int {
return m.StableSize()
}
func (m *RequestVerificationHeader) ReadSignedData(buf []byte) ([]byte, error) {
return m.StableMarshal(buf)
}
func (m *RequestVerificationHeader) SignedDataSize() int {
return m.StableSize()
}