README.md in rasn1-0.6.8 vs README.md in rasn1-0.7.0
- old
+ new
@@ -13,16 +13,25 @@
gem 'rasn1'
```
And then execute:
- $ bundle
+ $ bundle install
Or install it yourself as:
$ gem install rasn1
-## Usage
+## Simple usage
+
+To decode a DER/BER string without checking a model, do:
+
+```ruby
+decoded_der = RASN1.parse(der_string)
+decoded_ber = RASN1.parse(ber_string, ber: true)
+```
+
+## Advanced usage
All examples below will be based on:
```
Record ::= SEQUENCE {
id INTEGER,