#NEWLINE# def format_byte_size( size , precision = 1 , binary = False , full_name = False ) : #NEWLINE# #INDENT# "Same as ``format_data_size`` but specifically for bytes.\n    \n    Examples:\n\n    >>> format_byte_size(2048)\n    '2.0 kB'\n    >>> format_byte_size(2048, full_name=True)\n    '2.0 kilobytes'\n    " #NEWLINE# if full_name : #NEWLINE# #INDENT# return format_data_size ( size , 'bytes' , precision , binary , True ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return format_data_size ( size , 'B' , binary , binary , False )