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

org.ttzero.excel.entity.e3.FrtHeaderParser Maven / Gradle / Ivy

/*
 * Copyright (c) 2017-2021, [email protected] All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


package org.ttzero.excel.entity.e3;

/**
 * 2.5.135 FrtHeader
 * 

* The FrtHeader structure specifies a future record type header. * @author guanquan.wang at 2021-07-07 09:42 */ public class FrtHeaderParser { public static FrtHeader get(Block block) { FrtHeader e = new FrtHeader(); // (2 bytes): An unsigned integer that specifies the record type identifier. // MUST be identical to the record type identifier of the containing record. e.rt = block.nextShort(); // (2 bytes): An FrtFlags that specifies attributes for this record. The value of // grbitFrt.fFrtRef MUST be zero. The value of grbitFrt.fFrtAlert MUST be zero. e.grbitFrt = block.nextShort(); // MUST be zero, and MUST be ignored. e.reserved = block.nextLong(); return e; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy