toTimeDiff

Function to extract a time difference from a binary encoded row.

Time/date structures are packed by the server into a byte sub-packet with a leading length byte, and a minimal number of bytes to embody the data.

  1. TimeDiff toTimeDiff(ubyte[] a)
    @safe pure
    toTimeDiff
    (
    in ubyte[] a
    )
  2. TimeDiff toTimeDiff(string s)

Return Value

Type: TimeDiff

A populated or default initialized TimeDiff struct.

Meta