We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7958315 commit 92c61eaCopy full SHA for 92c61ea
lib/net/ber.rb
@@ -222,6 +222,8 @@ class String
222
# A universal octet-string is tag number 4,
223
# but others are possible depending on the context, so we
224
# let the caller give us one.
225
+ # The preferred way to do this in user code is via to_ber_application_sring
226
+ # and to_ber_contextspecific.
227
#
228
def to_ber code = 4
229
[code].pack('C') + length.to_ber_length_encoding + self
0 commit comments