mirror of
https://github.com/garraflavatra/go-fmp.git
synced 2025-07-09 00:14:05 +00:00
Add debug utils
This commit is contained in:
@ -2,7 +2,6 @@ package fmp
|
||||
|
||||
import (
|
||||
"encoding/binary"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
type FmpChunk struct {
|
||||
@ -13,10 +12,6 @@ type FmpChunk struct {
|
||||
Value []byte
|
||||
}
|
||||
|
||||
func (c *FmpChunk) String() string {
|
||||
return fmt.Sprintf("<%v(%v)>", c.Type, c.Length)
|
||||
}
|
||||
|
||||
func (ctx *FmpFile) readChunk(payload []byte) (*FmpChunk, error) {
|
||||
|
||||
// Simple data
|
||||
|
Reference in New Issue
Block a user