summaryrefslogtreecommitdiffstats
path: root/src/net/gcdc/asn1/uper/SeqOfFixedSize.java
blob: f9029a3ea2aa4dd927922e83fc8b3931106ff8d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package net.gcdc.asn1.uper;

import java.util.Arrays;
import java.util.Collection;

import net.gcdc.asn1.datatypes.Asn1SequenceOf;
import net.gcdc.asn1.datatypes.FixedSize;


public class SeqOfFixedSize {
        @FixedSize(3)
        public static class Bar extends Asn1SequenceOf<Byte> {
            public Bar(Byte... coll)          { this(Arrays.asList(coll)); }
            public Bar(Collection<Byte> coll) { super(coll); }
        }


}