mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-22 16:20:17 +01:00
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
|
||||
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
Block a user