Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/pyasn1/codec/ber/eoo.py: 100%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1#
2# This file is part of pyasn1 software.
3#
4# Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
5# License: https://pyasn1.readthedocs.io/en/latest/license.html
6#
7from pyasn1.type import base
8from pyasn1.type import tag
10__all__ = ['endOfOctets']
13class EndOfOctets(base.SimpleAsn1Type):
14 defaultValue = 0
15 tagSet = tag.initTagSet(
16 tag.Tag(tag.tagClassUniversal, tag.tagFormatSimple, 0x00)
17 )
19 _instance = None
21 def __new__(cls, *args, **kwargs):
22 if cls._instance is None:
23 cls._instance = object.__new__(cls, *args, **kwargs)
25 return cls._instance
28endOfOctets = EndOfOctets()