Skip to content

Commit

Permalink
Adding simple signature package
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivanshVij committed Aug 31, 2023
1 parent a305701 commit 213855d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions signature/converter/signature.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ func NewSignature(schema *signature.Schema) (*Signature, error) {
}, nil
}

func (s *Signature) Signature() *Signature {
return s
}

func (s *Signature) Read(b []byte) (err error) {
d := polyglot.GetDecoder(b)
s.data, err = s.converter.FromPolyglot(d)
Expand Down

0 comments on commit 213855d

Please sign in to comment.