Documentation
¶
Overview ¶
Package contentdecoder implement encoders and decoders for data by content types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeJSON ¶
DecodeJSON decodes an arbitrary JSON from a reader stream.
func UnmarshalJSON ¶
UnmarshalJSON unmarshals an arbitrary JSON from bytes.
Types ¶
type DataURI ¶
DataURI represents the Data URI scheme
func DecodeDataURI ¶
DecodeDataURI decodes data URI scheme data:[<media type>][;<key>=<value>][;<extension>],<data>
type DataURIEncoding ¶
type DataURIEncoding uint8
DataURIEncoding represents a encoding num for the data URI.
const ( // DataUriASCII represents the ascii encoding for the data URI. DataUriASCII DataURIEncoding = iota // DataURIBase64 represents the base64 encoding enum for the data URI. DataURIBase64 )
Click to show internal directories.
Click to hide internal directories.