Skip to content

Commit 92c61ea

Browse files
author
blackhedd
committed
comment
1 parent 7958315 commit 92c61ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/net/ber.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ class String
222222
# A universal octet-string is tag number 4,
223223
# but others are possible depending on the context, so we
224224
# 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.
225227
#
226228
def to_ber code = 4
227229
[code].pack('C') + length.to_ber_length_encoding + self

0 commit comments

Comments
 (0)