forked from TrueCloudLab/frostfs-api-go
746419e85f
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
17 lines
391 B
Go
17 lines
391 B
Go
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()
|
|
}
|