forked from TrueCloudLab/frostfs-api-go
4a6ea486f7
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
17 lines
355 B
Go
17 lines
355 B
Go
package v2
|
|
|
|
func (m *Container) ReadSignedData(buf []byte) ([]byte, error) {
|
|
return m.StableMarshal(buf)
|
|
}
|
|
|
|
func (m *Container) SignedDataSize() int {
|
|
return m.StableSize()
|
|
}
|
|
|
|
func (m *PutRequest_Body) ReadSignedData(buf []byte) ([]byte, error) {
|
|
return m.StableMarshal(buf)
|
|
}
|
|
|
|
func (m *PutRequest_Body) SignedDataSize() int {
|
|
return m.StableSize()
|
|
}
|