remove dead code

This commit is contained in:
Sascha L. Teichmann 2024-01-08 01:29:34 +01:00
parent bc58056634
commit bc65fc56ed

View File

@ -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
}