Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
util.cpython-313.pyc14 linesDownload Raw Back to __pycache__
1�

2o�jH��H�SSKJr SSKJr SSKJr SrS	SjrS	SjrSrg)3�)�encode)�number_types)�packerc�L�[R"[RX5$)z&Extract the size prefix from a buffer.)r�Getr�int32��buf�offsets  �VD:\code\apps\devtools\python\user_packages\Python313\site-packages\flatbuffers/util.py�
GetSizePrefixr
s��	���F�L�L�#�	.�.�c��U(aU[RR-
nU[RR-
nU[R-nXU$)z)Extract the file_identifier from a buffer)r�
UOffsetTFlags�	bytewidthr�FILE_IDENTIFIER_LENGTH)r4r�
size_prefixed�ends    r�GetBufferIdentifierrsK���5�l�(�(�2�2�2�F��L�&�&�0�0�0�&���.�.�.�#�	�C��rc��[XUS9nXB:H$)N)r)r)r6r�file_identifierr�gots     r�BufferHasIdentifierr%s���C�}�E�#�	�	�rc�>�X[RR-4$)zdCreate a slice of a size-prefixed buffer that has7 8its position advanced just past the size prefix.9)r�10Int32Flagsrr	s  r�RemoveSizePrefixr*s��1112
�|�.�.�8�8�8�	8�8rN)F)�rrrr
rrr�rr�<module>rs$�����/�13	� �149r
codekingpro/portable-devtools · Team Ai