MCPcopy
hub / github.com/fortra/impacket / populate

Method populate

tests/misc/test_structure.py:84–92  ·  view source on GitHub ↗
(self, a)

Source from the content-addressed store, hash-verified

82 )
83
84 def populate(self, a):
85 a['default'] = 'hola'
86 a['int1'] = 0x3131
87 a['int3'] = 0x45444342
88 a['z1'] = 'hola'
89 a['u1'] = 'hola'.encode('utf_16_le')
90 a[':1'] = ':1234:'
91 a['arr1'] = (0x12341234, 0x88990077, 0x41414141)
92 # a['len1'] = 0x42424242
93
94 hexData = '00003131 00000005 03341234 12770099 88414141 41686f6c 61006800 6f006c00 61000000 434f4341 0006434f 43413a31 3233343a 45444342 00001006'
95

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected