Sha256: 214d9aae7ed1de932e856e399dc7d3fdade82816efdbe77c65646ee657896752

Contents?: true

Size: 207 Bytes

Versions: 2

Compression:

Stored size: 207 Bytes

Contents

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

	def self.decode(buff)
		buff.unpack("C*").map{ |x| LOOKUP_ALAW2LIN16[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/alaw.rb
librex-0.0.66 lib/rex/proto/iax2/codecs/alaw.rb