@Override
    protected Duration readValue(final Buffer buffer, final GraphBinaryReader context) throws IOException {
        return Duration.ofSeconds(buffer.readLong(), buffer.readInt());
    }
@author Stephen Mallette (http://stephen.genoprime.com)
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/binary/types/DurationSerializer.java