All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ee.sk.digidoc.c14n.FragmentBase_Bounds Maven / Gradle / Ivy

Go to download

A Java libray for manipulating Estonian digital signature container files DDOC and BDOC. Note that this library is deprecated. It is recommended to use the new DigiDoc4j library at https://github.com/open-eid/digidoc4j

There is a newer version: 3.12.1
Show newest version
package ee.sk.digidoc.c14n;


public class FragmentBase_Bounds
{
    public int Offset;
    public int Length;


    public FragmentBase_Bounds(int o, int len)
    {
        this.Offset = o;
        this.Length = len;
    }


    public boolean InBounds(int p)
    {

        if ((p < this.Offset))
        {
            return false;
        }

        return (p < (this.Offset + this.Length));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy