mirror of https://github.com/dsoprea/go-exif.git
18 lines
319 B
Go
18 lines
319 B
Go
package exif
|
|
|
|
import (
|
|
"encoding/binary"
|
|
)
|
|
|
|
func newValueContextFromTag(ite *IfdTagEntry, addressableData []byte, byteOrder binary.ByteOrder) *ValueContext {
|
|
return newValueContext(
|
|
ite.IfdPath,
|
|
ite.TagId,
|
|
ite.UnitCount,
|
|
ite.ValueOffset,
|
|
ite.RawValueOffset,
|
|
addressableData,
|
|
ite.TagType,
|
|
byteOrder)
|
|
}
|