The live data also works now, but I have some refactoring to do

This commit is contained in:
2024-10-29 14:52:40 +00:00
parent dbf30c1d4e
commit 422d90e98a
7 changed files with 338 additions and 161 deletions
+1 -2
View File
@@ -4,7 +4,6 @@ import (
"bytes"
"encoding/binary"
"fmt"
"ibtReader/utils"
)
const (
@@ -24,7 +23,7 @@ type DiskSubHeader struct {
// or nil if an error occurs. In which case the error return value is more
// valuable
func parseTelemetrySubHeader(buf [SubHeaderSize]byte) (*DiskSubHeader, error) {
utils.HexDump(buf[:])
// utils.HexDump(buf[:])
dst := DiskSubHeader{}
err := binary.Read(bytes.NewBuffer(buf[:]), binary.LittleEndian, &dst)