るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.050秒)
トップページ > ライブラリ:openssl[x] > バージョン:2.4.0[x] > クエリ:openssl[x] > クエリ:SSL[x] > クエリ:lshift![x]

別のキーワード

  1. pop enable_ssl
  2. pop use_ssl?
  3. pop3 enable_ssl
  4. pop disable_ssl
  5. pop3 use_ssl?

クラス

検索結果

OpenSSL::BN#lshift!(n) -> self (96445.0)

自身を n ビット左シフトします。 OpenSSL::BN#<<と異なり、破壊的メソッドです。

...す。
OpenSSL
::BN#<<と異なり、破壊的メソッドです。

//emlist[][ruby]{
require 'openssl'

bn = 1.to_bn
bn.lshift!(2) # => #<OpenSSL::BN 4>
bn # => #<OpenSSL::BN 4>
//}

@param n シフトするビット数
@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::BN#<<...