Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2011 Agrosense <info@cloudfarming.nl> Licensed under the Eclipse Public License - v 1.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.eclipse.org/legal/epl-v10.html 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 nl.cloudfarming.client.isobus.model;

Enum for the different dataTypes in a binary file. Each enum contains a value how many bytes it is made of

Author(s):
Gerben Feenstra
public enum BinaryDataType {
        BIT32_SIGNED(4), BIT32_UNSIGNED(4), BIT16_SIGNED(2), BIT16_UNSIGNED(2), BIT8_SIGNED(1), BIT8_UNSIGNED(1);
        private int size = 0;
        BinaryDataType(int size) {
            this. = size;
        }
        int getSize() {
            return ;
        }
    }
New to GrepCode? Check out our FAQ X