Open Search
    Bytes Class Reference

    #include <bytesvalue.h>

    Inheritance diagram for Bytes:

    Detailed Description

    Byte value in bytes.

    Public Member Functions

     Bytes (Int64 bytes)
     
    - Public Member Functions inherited from BytesValue
     BytesValue ()
     
     BytesValue (const BytesValue &src)
     
    BytesValueoperator= (const BytesValue &src)
     
    Bool operator== (const BytesValue b) const
     
    Bool operator< (const BytesValue b) const
     
    BytesValue operator+ (const BytesValue b) const
     
    BytesValueoperator+= (const BytesValue b)
     
    BytesValue operator- (const BytesValue b) const
     
    const BytesValueoperator-= (const BytesValue b)
     
    Bool operator>= (const BytesValue b)
     
    Bool operator<= (const BytesValue b)
     
    Bool operator> (const BytesValue b)
     
    Bool operator< (const BytesValue b)
     
    Bool operator>= (const Int64 b)
     
    Bool operator<= (const Int64 b)
     
    Bool operator> (const Int64 b)
     
    Bool operator< (const Int64 b)
     
     operator Int64 () const
     
    BytesValueoperator*= (const Int64 b)
     
    Int64 GetBits () const
     
    Int64 GetBytes () const
     
    void SetBytes (Int64 bytes)
     
    Float32 GetKilobytes () const
     
    Float32 GetKibibytes () const
     
    Float32 GetMegabytes () const
     
    Float32 GetMebibytes () const
     
    Float32 GetGigabytes () const
     
    Float32 GetGibibytes () const
     
    Float32 GetTerabytes () const
     
    Float32 GetTebibytes () const
     
    String ToString (const FormatStatement *formatStatement=nullptr) const
     
    HashInt GetHashCode () const
     

    Additional Inherited Members

    - Static Public Member Functions inherited from BytesValue
    static Result< void > DescribeIO (const DataSerializeInterface &stream)
     
    - Protected Member Functions inherited from BytesValue
     BytesValue (Int64 bytes)
     

    Constructor & Destructor Documentation

    ◆ Bytes()

    Bytes ( Int64  bytes)
    explicit