Versions in this module Expand all Collapse all v0 v0.4.0 Jan 18, 2023 Changes in this version + const MagicString + const PrivateTag + const VLUndefinedLength + func WithSetFileSize(fileSize int64) func(*dcmReader) + func WithSkipDataset(skipDataset bool) func(*dcmReader) + func WithSkipPixelData(skipPixelData bool) func(*dcmReader) + type Dataset struct + Elements []*Element + func (ds *Dataset) FindElementByTag(tagName tag.DicomTag) (*Element, error) + func (ds *Dataset) FindElementByTagName(tagName string) (*Element, error) + func (ds *Dataset) FindElementByTagStr(tagStr string) (*Element, error) + func (ds *Dataset) RetrieveFileUID() (*DicomUID, error) + type DcmReader interface + ByteOrder func() binary.ByteOrder + ExportDatasetTags func(exportMeta bool) MappedTag + ExportSeriesTags func() MappedTag + GetDataset func() Dataset + GetElementByTagString func(tagStr string) (interface{}, error) + GetFileSize func() int64 + GetMetadata func() Dataset + IsImplicit func() bool + Parse func() error + RetrieveFileUID func() (*DicomUID, error) + SetFileSize func(fileSize int64) error + SkipPixelData func() bool + func NewDICOMReader(reader *bufio.Reader, options ...func(*dcmReader)) DcmReader + type DicomUID struct + SOPInstanceUID string + SeriesInstanceUID string + StudyInstanceUID string + type Element struct + Tag tag.DicomTag + TagName string + Value Value + ValueLength uint32 + ValueRepresentation vr.VRKind + ValueRepresentationStr string + func ReadElement(r DcmReader, isImplicit bool, binOrder binary.ByteOrder) (*Element, error) + type MappedTag map[string]tag.TagBrowser + func (m MappedTag) GetElementByTagString(tagStr string) (interface{}, error) + type Value struct + RawValue interface{}