noot
This commit is contained in:
parent
c98d343873
commit
3f59916abe
2
nori.go
2
nori.go
@ -20,7 +20,7 @@ type Nori struct {
|
|||||||
lastSignature [4]byte
|
lastSignature [4]byte
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n *Nori) Decode(r io.Reader) error {
|
func (n *Nori) Decode(r io.ReadSeeker) error {
|
||||||
rd := reflectReader(r)
|
rd := reflectReader(r)
|
||||||
n.Gawi = &GawiSection{}
|
n.Gawi = &GawiSection{}
|
||||||
if _, err := io.ReadFull(rd, n.lastSignature[:]); err != nil {
|
if _, err := io.ReadFull(rd, n.lastSignature[:]); err != nil {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user