mms

package
v0.0.0-...-451f520 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2018 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

package mms implements encoding of binary MMS payload.

http://technical.openmobilealliance.org/tech/affiliates/wap/wapindex.html http://technical.openmobilealliance.org/Technical/release_program/mms_v1_3.aspx

Index

Constants

View Source
const (
	HdrBCC = iota + 1
	HdrCC
	HdrContentLocation
	HdrContentType
	HdrDate // 5
	HdrDeliveryReport
	HdrDeliveryTime
	HdrExpiry
	HdrFrom
	HdrMessageClass // 10
	HdrMessageID
	HdrMessageType
	HdrMMSVersion
	HdrMessageSize
	HdrPriority // 15
	HdrReadReply
	HdrReportAllowed
	HdrResponseStatus
	HdrResponseText
	HdrSenderVisibility // 20
	HdrStatus
	HdrSubject
	HdrTo
	HdrTransactionID
)

Header IDs: WAP-209, section 7.3

Variables

This section is empty.

Functions

This section is empty.

Types

type ByteReader

type ByteReader interface {
	io.Reader
	io.ByteReader
	ReadString(byte) (string, error)
}

type MMS

type MMS struct {
	Header map[string]string
}

func ReadMMS

func ReadMMS(r ByteReader) (mms MMS, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL