(dst *int16)
| 100 | } |
| 101 | |
| 102 | func (r StaticReader) Short(dst *int16) (string, error) { |
| 103 | typeId, err := r.readByte() |
| 104 | if err != nil { |
| 105 | return "", err |
| 106 | } |
| 107 | if typeId != Short { |
| 108 | return "", fmt.Errorf("tried reading TAG_Short, got %d", typeId) |
| 109 | } |
| 110 | |
| 111 | name, err := r.readString() |
| 112 | if err != nil { |
| 113 | return "", err |
| 114 | } |
| 115 | |
| 116 | *dst, err = r.readShort() |
| 117 | return name, err |
| 118 | } |
| 119 | |
| 120 | func (r StaticReader) Int(dst *int32) (string, error) { |
| 121 | typeId, err := r.readByte() |
nothing calls this directly
no test coverage detected