aboutsummaryrefslogtreecommitdiffstats
path: root/vespajlib/src/main/java/com/yahoo/vespa/objects/Deserializer.java
blob: affc20c73b9f1ebd5a333e56351163daa882b692 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.objects;

/**
 * @author baldersheim
 */
public interface Deserializer {

    byte getByte(FieldBase field);
    short getShort(FieldBase field);
    int getInt(FieldBase field);
    long getLong(FieldBase field);
    float getFloat(FieldBase field);
    double getDouble(FieldBase field);
    byte [] getBytes(FieldBase field, int length);
    String getString(FieldBase field);

}