• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# This file is part of pyasn1 software.
3#
4# Copyright (c) 2005-2018, Ilya Etingof <etingof@gmail.com>
5# License: http://snmplabs.com/pyasn1/license.html
6#
7from pyasn1.type import base
8from pyasn1.type import tag
9
10__all__ = ['endOfOctets']
11
12
13class EndOfOctets(base.AbstractSimpleAsn1Item):
14    defaultValue = 0
15    tagSet = tag.initTagSet(
16        tag.Tag(tag.tagClassUniversal, tag.tagFormatSimple, 0x00)
17    )
18
19    _instance = None
20
21    def __new__(cls, *args, **kwargs):
22        if cls._instance is None:
23            cls._instance = object.__new__(cls, *args, **kwargs)
24
25        return cls._instance
26
27
28endOfOctets = EndOfOctets()
29