Module: Mp3Info::Mp3FileMethods

Defined in:
lib/mp3info/extension_modules.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#get32bitsObject



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

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

#get_syncsafeObject



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

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

#getbyteObject



28
29
30
# File 'lib/mp3info/extension_modules.rb', line 28

def getbyte
  getc
end