Module: Mp3Info::Mp3FileMethods

Defined in:
lib/mp3info/extension_modules.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#get32bitsObject



38
39
40
# File 'lib/mp3info/extension_modules.rb', line 38

def get32bits
  (getbyte << 24) + (getbyte << 16) + (getbyte << 8) + getbyte
end

#get_syncsafeObject



42
43
44
# File 'lib/mp3info/extension_modules.rb', line 42

def get_syncsafe
  (getbyte << 21) + (getbyte << 14) + (getbyte << 7) + getbyte
end

#getbyteObject



33
34
35
# File 'lib/mp3info/extension_modules.rb', line 33

def getbyte
  getc
end