Sha256: 6c35b4fa03d0e3afb8e0be249e43886b2cf2669ab799beefc48cbdcb1ee2393d

Contents?: true

Size: 209 Bytes

Versions: 2

Compression:

Stored size: 209 Bytes

Contents

# -*- coding: binary -*-
module Rex
module Proto
module IAX2
module Codecs
class MuLaw < G711


	def self.decode(buff)
		buff.unpack("C*").map{ |x| LOOKUP_ULAW2LIN16[x] }.pack('v*')
	end
	
end
end
end
end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
librex-0.0.68 lib/rex/proto/iax2/codecs/mulaw.rb
librex-0.0.66 lib/rex/proto/iax2/codecs/mulaw.rb