aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1rt_per_bin.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-07-08 10:45:49 +0200
committerLukas Larsson <[email protected]>2011-07-21 14:50:20 +0200
commit6613732f28da2977c308500eacabea5fe332f5fa (patch)
treea024d2a586312cd7e3c01bb139e8ad97f3e0fb02 /lib/asn1/src/asn1rt_per_bin.erl
parentd39c96a320c1deef56de4d9468a98553bf004e28 (diff)
downloadotp-6613732f28da2977c308500eacabea5fe332f5fa.tar.gz
otp-6613732f28da2977c308500eacabea5fe332f5fa.tar.bz2
otp-6613732f28da2977c308500eacabea5fe332f5fa.zip
Optmized decode_length by doing some calculations as compile time rather than runtime
Diffstat (limited to 'lib/asn1/src/asn1rt_per_bin.erl')
-rw-r--r--lib/asn1/src/asn1rt_per_bin.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asn1/src/asn1rt_per_bin.erl b/lib/asn1/src/asn1rt_per_bin.erl
index 6bbca26209..a124c7553d 100644
--- a/lib/asn1/src/asn1rt_per_bin.erl
+++ b/lib/asn1/src/asn1rt_per_bin.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2001-2009. All Rights Reserved.
+%% Copyright Ericsson AB 2001-2011. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -57,7 +57,7 @@
encode_NumericString/2, decode_NumericString/2,
encode_ObjectDescriptor/2, decode_ObjectDescriptor/1
]).
--export([complete_bytes/1]).
+-export([complete_bytes/1, getbits/2, getoctets/2]).
-define('16K',16384).
-define('32K',32768).