remove dead code
This commit is contained in:
parent
bc58056634
commit
bc65fc56ed
|
@ -385,12 +385,3 @@ func (pb *posBuf) Read(p []byte) (int, error) {
|
||||||
pb.Pos += pl
|
pb.Pos += pl
|
||||||
return pl, nil
|
return pl, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (pb *posBuf) ReadByte() (byte, error) {
|
|
||||||
if pb.Pos >= len(pb.Data) {
|
|
||||||
return 0, io.EOF
|
|
||||||
}
|
|
||||||
c := pb.Data[pb.Pos]
|
|
||||||
pb.Pos++
|
|
||||||
return c, nil
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue