 		GORGE: 3
 	}
 
+class decoder extends EventEmitter
+	constructor: (options) ->
+		# todo
+	__decode: (fn) ->
+		#todo
+	read: (fn) ->
+	__read: (fn) ->
+
 Object.freeze encoder.mode
 Object.freeze encoder.profiles
-Object.freeze encoder.bytes+Object.freeze encoder.bytes
+
+module.exports = blip =
+	encoder: encoder
+	decoder: decoder

		else if @profileBytes['R'] is encoder.bytes.WRITEXOR
			# set to true for now to indicate we ARE looking for an xor byte
			@xorByte = true
	
		if @profileBytes['G'] is encoder.bytes.PRESERVE and (@xorByte is true or @xorByte is false)
			# only set xor byte if we don't have one already
			@xorByte = 'G'

os = require 'os'
util = require 'util'
zlib = require 'zlib'
domain = require 'domain'
gd = require 'node-gd'

hexNum = (val) ->
	val = val.toString 16
