Documentation ¶
Index ¶
- Constants
- type DSIterator
- type Dataset
- func (ds *Dataset) Get(tag uint32) (*Element, error)
- func (ds *Dataset) GetString(tag uint32) (string, error)
- func (ds *Dataset) Iterator() DSIterator
- func (ds *Dataset) Put(elem *Element)
- func (ds *Dataset) PutString(tag uint32, vrStr, str string) error
- func (ds *Dataset) Size() int
- func (ds *Dataset) String() string
- type Element
- type Parser
- func (p *Parser) Parse(r io.Reader, explicit bool) (*Dataset, error)
- func (p *Parser) ParseFile(filename string) (*Dataset, error)
- func (p *Parser) ParseFileUntil(filename string, maxTag uint32) (*Dataset, error)
- func (p *Parser) ParseUntil(r io.Reader, explicit bool, maxTag uint32) (*Dataset, error)
- type Reader
- type Value
Constants ¶
View Source
const ( UndefinedLength = 0xffffffff SQItem = 0xfffee000 SQItemDelim = 0xfffee00d SQDelim = 0xfffee0dd )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DSIterator ¶
type Dataset ¶
type Dataset struct {
// contains filtered or unexported fields
}
func NewDataset ¶
func NewDataset() *Dataset
func (*Dataset) Iterator ¶
func (ds *Dataset) Iterator() DSIterator
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) ParseFileUntil ¶
type Reader ¶
type Reader interface { io.Reader ByteOrder() binary.ByteOrder BytesRead() uint64 IsExplicit() bool Peek(n int) ([]byte, error) ReadFloat32() (float32, error) ReadFloat64() (float64, error) ReadInt16() (int16, error) ReadInt32() (int32, error) ReadString(n uint32) (string, error) ReadUint16() (uint16, error) ReadUint16LE() (uint16, error) ReadUint32() (uint32, error) ReadUint32LE() (uint32, error) SetExplicit(bool) Skip(n int64) error }
Click to show internal directories.
Click to hide internal directories.