mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
internal/era: better doc comment
This commit is contained in:
parent
cccf47b4f4
commit
7b9bda23c4
1 changed files with 2 additions and 2 deletions
|
|
@ -112,8 +112,8 @@ func (r *Reader) ReadAt(entry *Entry, off int64) (int, error) {
|
|||
return int(headerSize + length), nil
|
||||
}
|
||||
|
||||
// Reads the header at off and returns the total length of the entry, including
|
||||
// header.
|
||||
// LengthAt reads the header at off and returns the total length of the entry,
|
||||
// including header.
|
||||
func (r *Reader) LengthAt(off int64) (int64, error) {
|
||||
_, length, err := r.ReadMetadataAt(off)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue