summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/prelude/fastsearch/VariableLengthField.java
blob: 2ff7c4864e2b22cab242e7dbca488d9c972be004 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.prelude.fastsearch;

/**
 * Interface to easier find the start of the actual data for variable length
 * fields.
 *
 * @author Steinar Knutsen
 */
public interface VariableLengthField {

    /** Returns the size of the length preceeding the data of this field, in bytes */
    int sizeOfLength();

}