Versions in this module Expand all Collapse all v0 v0.4.0 Jun 27, 2019 v0.3.0 Oct 16, 2018 Changes in this version + var NativeByteOrder = binary.LittleEndian + var StandardTransferSyntaxes = []string + func CanonicalTransferSyntaxUID(uid string) (string, error) + type CodingSystem struct + Alphabetic *encoding.Decoder + Ideographic *encoding.Decoder + Phonetic *encoding.Decoder + func ParseSpecificCharacterSet(encodingNames []string) (CodingSystem, error) + type CodingSystemType int + const AlphabeticCodingSystem + const IdeographicCodingSystem + const PhoneticCodingSystem + type Decoder struct + func NewBytesDecoder(data []byte, bo binary.ByteOrder, implicit IsImplicitVR) *Decoder + func NewBytesDecoderWithTransferSyntax(data []byte, transferSyntaxUID string) *Decoder + func NewDecoder(in io.Reader, limit int64, bo binary.ByteOrder, implicit IsImplicitVR) *Decoder + func (d *Decoder) Error() error + func (d *Decoder) Finish() error + func (d *Decoder) Len() int64 + func (d *Decoder) PopLimit() + func (d *Decoder) PopTransferSyntax() + func (d *Decoder) PushLimit(bytes int64) + func (d *Decoder) PushTransferSyntax(bo binary.ByteOrder, implicit IsImplicitVR) + func (d *Decoder) PushTransferSyntaxByUID(uid string) + func (d *Decoder) Read(p []byte) (int, error) + func (d *Decoder) ReadByte() (v byte) + func (d *Decoder) ReadBytes(length int) []byte + func (d *Decoder) ReadFloat32() (v float32) + func (d *Decoder) ReadFloat64() (v float64) + func (d *Decoder) ReadInt16() (v int16) + func (d *Decoder) ReadInt32() (v int32) + func (d *Decoder) ReadString(length int) string + func (d *Decoder) ReadStringWithCodingSystem(csType CodingSystemType, length int) string + func (d *Decoder) ReadUInt16() (v uint16) + func (d *Decoder) ReadUInt32() (v uint32) + func (d *Decoder) ReadUInt8() (v uint8) + func (d *Decoder) SetCodingSystem(cs CodingSystem) + func (d *Decoder) SetError(err error) + func (d *Decoder) SetErrorf(format string, args ...interface{}) + func (d *Decoder) Skip(length int) + func (d *Decoder) TransferSyntax() (bo binary.ByteOrder, implicit IsImplicitVR) + type Encoder struct + func NewBytesEncoder(bo binary.ByteOrder, implicit IsImplicitVR) *Encoder + func NewBytesEncoderWithTransferSyntax(transferSyntaxUID string) *Encoder + func NewEncoder(out io.Writer, bo binary.ByteOrder, implicit IsImplicitVR) *Encoder + func NewEncoderWithTransferSyntax(out io.Writer, transferSyntaxUID string) *Encoder + func (e *Encoder) Bytes() []byte + func (e *Encoder) Error() error + func (e *Encoder) PopTransferSyntax() + func (e *Encoder) PushTransferSyntax(bo binary.ByteOrder, implicit IsImplicitVR) + func (e *Encoder) SetError(err error) + func (e *Encoder) SetErrorf(format string, args ...interface{}) + func (e *Encoder) TransferSyntax() (binary.ByteOrder, IsImplicitVR) + func (e *Encoder) WriteByte(v byte) + func (e *Encoder) WriteBytes(v []byte) + func (e *Encoder) WriteFloat32(v float32) + func (e *Encoder) WriteFloat64(v float64) + func (e *Encoder) WriteInt16(v int16) + func (e *Encoder) WriteInt32(v int32) + func (e *Encoder) WriteString(v string) + func (e *Encoder) WriteUInt16(v uint16) + func (e *Encoder) WriteUInt32(v uint32) + func (e *Encoder) WriteZeros(len int) + type IsImplicitVR int + const ExplicitVR + const ImplicitVR + const UnknownVR + func ParseTransferSyntaxUID(uid string) (bo binary.ByteOrder, implicit IsImplicitVR, err error)