Class: OpenSSL::SSL::SSLSocket

Inherits:
Object
  • Object
show all
Defined in:
lib/mqtt/openssl_fix.rb

Instance Method Summary collapse

Instance Method Details

#getbyteObject



12
13
14
15
# File 'lib/mqtt/openssl_fix.rb', line 12

def getbyte
  byte = read(1)
  byte && unpack_byte(byte)
end