com.github.mreutegg.laszip4j.laszip.LASwriteItemRaw_BYTE Maven / Gradle / Ivy
/*
* (c) 2007-2022, rapidlasso GmbH - fast tools to catch reality
*
* This is free software; you can redistribute and/or modify it under the
* terms of the Apache Public License 2.0 published by the Apache Software
* Foundation. See the COPYING file for more information.
*
* This software is distributed WITHOUT ANY WARRANTY and without even the
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
package com.github.mreutegg.laszip4j.laszip;
public class LASwriteItemRaw_BYTE extends LASwriteItemRaw {
private final int byteCount;
public LASwriteItemRaw_BYTE(int byteCount) {
this.byteCount = byteCount;
}
@Override
public boolean write(PointDataRecordBytes point, int context) {
return outstream.putBytes(point.Bytes, byteCount);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy